Class: DbCache
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- DbCache
- Defined in:
- lib/active_support/cache/db_cache_store.rb
Instance Method Summary collapse
Instance Method Details
#entry ⇒ Object
74 75 76 |
# File 'lib/active_support/cache/db_cache_store.rb', line 74 def entry YAML.load(value) unless value.nil? end |
#expired? ⇒ Boolean
78 79 80 |
# File 'lib/active_support/cache/db_cache_store.rb', line 78 def expired? entry && entry.expired? end |