module Mor

Constants

VERSION

Public Class Methods

cache() click to toggle source
# File lib/mor.rb, line 23
def self.cache
  @@cache ||= begin
    ::Dalli::Client.new self.dalli["servers"].split(","), self.dalli.reject{|k,v| k == "servers"}
  end
end
config() { |self| ... } click to toggle source
# File lib/mor.rb, line 19
def self.config
  yield self
end
dalli() click to toggle source
# File lib/mor.rb, line 15
def self.dalli
  @@dalli
end