Module: Memflash::CachingLayer

Defined in:
lib/memflash.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object


8
9
10
11
12
13
# File 'lib/memflash.rb', line 8

def self.included(base)
  base.class_eval do
    alias_method_chain :[]=, :caching
    alias_method_chain :[], :caching
  end
end