Sha256: 0a819911bb8f361b33392afbad0ddb6832bea950595ec50782f7e2084ce9482a

Contents?: true

Size: 355 Bytes

Versions: 1

Compression:

Stored size: 355 Bytes

Contents

require 'singleton'

module CanTango
  class Configuration
    class Engines
      class Cache < Engine
        include Singleton

        def store &block
          @store ||= ns::Store.new
          @store.default_class ||= CanTango::Ability::Cache::MonetaCache
          yield @store if block
          @store
        end
      end
    end
  end
end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cantango-0.8.0 lib/cantango/configuration/engines/cache.rb