Module: CacheCow::ActsAsCached::ClassMethods
- Defined in:
- lib/cache_cow/acts_as_cached.rb
Instance Method Summary collapse
Instance Method Details
#acts_as_cached ⇒ Object
7 8 9 10 |
# File 'lib/cache_cow/acts_as_cached.rb', line 7 def acts_as_cached include Cacheable include CachedIdList end |
#acts_as_cached_options ⇒ Object
12 13 14 |
# File 'lib/cache_cow/acts_as_cached.rb', line 12 def @acts_as_cached_options ||= {} end |
#acts_as_cached_version ⇒ Object
16 17 18 |
# File 'lib/cache_cow/acts_as_cached.rb', line 16 def acts_as_cached_version [:version] || 1 end |