Module: Egalite::ControllerCache::ClassMethods
- Defined in:
- lib/egalite/cache.rb
Instance Attribute Summary collapse
-
#controller_cache_actions ⇒ Object
readonly
Returns the value of attribute controller_cache_actions.
Instance Method Summary collapse
Instance Attribute Details
#controller_cache_actions ⇒ Object (readonly)
Returns the value of attribute controller_cache_actions.
41 42 43 |
# File 'lib/egalite/cache.rb', line 41 def controller_cache_actions @controller_cache_actions end |
Instance Method Details
#cache_action(action, options) ⇒ Object
42 43 44 45 |
# File 'lib/egalite/cache.rb', line 42 def cache_action(action, ) @controller_cache_actions ||= {} @controller_cache_actions[action.to_s] = end |