Sha256: c078defcd89ad013d35ecdfc0934ca85ea9041ac1ac3b4bdd623ff8e1199e0b7

Contents?: true

Size: 522 Bytes

Versions: 5

Compression:

Stored size: 522 Bytes

Contents

require 'cache/object/version'
require 'cache/object/config'
require 'cache/object/active_record'
require 'cache/object/adapter'
require 'cache/object/key_generator'
require 'cache/object/multi_get'
require 'cache/object/dtrace_provider'

module Cache
  module Object
    # Your code goes here...
    def self.configure
      yield configuration
    end

    def self.configuration
      @configuration ||= Cache::Object::Config.new
    end

    def self.adapter
      @adapter ||= configuration.adapter
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cache-object-0.2.0 lib/cache/object.rb
cache-object-0.1.0 lib/cache/object.rb
cache-object-0.0.7 lib/cache/object.rb
cache-object-0.0.6 lib/cache/object.rb
cache-object-0.0.5 lib/cache/object.rb