Module: Golden::Setting::Cache
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/golden/setting/cache.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#delete_cache ⇒ Object
49 50 51 52 |
# File 'lib/golden/setting/cache.rb', line 49 def delete_cache self.class.delete_cache name self.class.delete_cache "#{name}?" end |
#rewrite_cache ⇒ Object
44 45 46 47 |
# File 'lib/golden/setting/cache.rb', line 44 def rewrite_cache self.class.rewrite_cache name, value self.class.rewrite_cache "#{name}?", self.class.base_class.is_true?(name) end |