Module: Switchman::CacheExtensions

Defined in:
lib/switchman/cache_extensions.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



8
9
10
11
# File 'lib/switchman/cache_extensions.rb', line 8

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