module Mize::Configure
Attributes
default_cache[RW]
Public Instance Methods
cache(cache)
click to toggle source
Set the default cache object to cache
.
# File lib/mize/configure.rb, line 5 def cache(cache) self.default_cache = cache end
configure(&block)
click to toggle source
Configures Mize
by executing a block of code and executing it in configuration context/passing the configuration into it.
# File lib/mize/configure.rb, line 11 def configure(&block) instance_eval(&block) end