Sha256: 99284416fe3bd44d5b517544d03cdf4f989324492fc6c601aeb9224d401b6ea6

Contents?: true

Size: 523 Bytes

Versions: 1

Compression:

Stored size: 523 Bytes

Contents

require 'cache_advance/cache_set'
require 'cache_advance/cached_key_list'
require 'cache_advance/mapper'
require 'cache_advance/named_cache'
require 'cache_advance/named_cache_configuration'

module CacheAdvance
  class UnknownNamedCacheException < Exception; end

  class << self
    attr_reader :cache_set
  end

  def self.define_caches(store)
    @cache_set = CacheSet.new(store)
    yield Mapper.new(@cache_set)
    @cache_set.setup_complete # This allows the cache set to finalize some of its configuration
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aub-cache_advance-0.2.0 lib/cache_advance.rb