Module: CacheMachine::Cache
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/cache_machine/cache.rb,
lib/cache_machine/cache/map.rb
Defined Under Namespace
Modules: ClassMethods, Map
Class Method Summary collapse
Class Method Details
.formats ⇒ Object
10 11 12 |
# File 'lib/cache_machine/cache.rb', line 10 def self.formats @formats end |
.formats=(formats) ⇒ Object
14 15 16 |
# File 'lib/cache_machine/cache.rb', line 14 def self.formats= formats @formats = [nil] | [*formats] end |