Module: LaserLemon::CacheFlow
- Defined in:
- lib/cache_flow.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/cache_flow.rb', line 3 def self.included(base) base.class_eval do class_inheritable_accessor :cache_serialization self.cache_serialization = false extend ClassMethods include InstanceMethods alias_method_chain :to_xml, :cache_flow alias_method_chain :to_json, :cache_flow end end |