Module: BirdGrinder::Cacheable
- Defined in:
- lib/bird_grinder/cacheable.rb
Defined Under Namespace
Modules: Methods
Class Method Summary collapse
-
.included(parent) ⇒ Object
Gives the target class cache_set and cache_get on a class and instance level.
Class Method Details
.included(parent) ⇒ Object
Gives the target class cache_set and cache_get on a class and instance level. triggered by:
include BirdGrinder::Cacheable
34 35 36 37 |
# File 'lib/bird_grinder/cacheable.rb', line 34 def self.included(parent) parent.send(:include, Methods) parent.send(:extend, Methods) end |