Class: Ramaze::Cache

Inherits:
Object show all
Defined in:
lib/ramaze/cache.rb,
lib/ramaze/cache/lru.rb,
lib/ramaze/cache/sequel.rb,
lib/ramaze/cache/memcache.rb,
lib/ramaze/cache/localmemcache.rb

Defined Under Namespace

Classes: LRU, LocalMemCache, MemCache, Sequel

Class Method Summary collapse

Class Method Details

.clear_after_reloadObject



15
16
17
18
# File 'lib/ramaze/cache.rb', line 15

def self.clear_after_reload
  action.clear if respond_to?(:action)
  action_value.clear if respond_to?(:action_value)
end