Module: Switchman::ActiveSupport::Cache

Defined in:
lib/switchman/active_support/cache.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



12
13
14
15
# File 'lib/switchman/active_support/cache.rb', line 12

def self.included(klass)
  klass.extend(ClassMethods)
  klass.singleton_class.alias_method_chain(:lookup_store, :sharding)
end