Sha256: 0fea4388075e0a2bc40c3d4774985e94cebba84899f0c0db94caed73540c510e

Contents?: true

Size: 259 Bytes

Versions: 16

Compression:

Stored size: 259 Bytes

Contents

module Mize::Configure
  attr_accessor :default_cache

  def cache(cache)
    self.default_cache = cache
  end

  def configure(&block)
    instance_eval(&block)
  end
end

module Mize
  extend Mize::Configure
end

Mize.default_cache = Mize::DefaultCache.new

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
mize-0.6.0 lib/mize/configure.rb
mize-0.5.0 lib/mize/configure.rb
mize-0.4.1 lib/mize/configure.rb
mize-0.4.0 lib/mize/configure.rb
mize-0.3.5 lib/mize/configure.rb
mize-0.3.4 lib/mize/configure.rb
mize-0.3.3 lib/mize/configure.rb
mize-0.3.2 lib/mize/configure.rb
mize-0.3.1 lib/mize/configure.rb
mize-0.3.0 lib/mize/configure.rb
mize-0.2.1 lib/mize/configure.rb
mize-0.2.0 lib/mize/configure.rb
mize-0.1.0 lib/mize/configure.rb
mize-0.0.2 lib/mize/configure.rb
mize-0.0.1 lib/mize/configure.rb
mize-0.0.0 lib/mize/configure.rb