Module: DefCache

Extended by:
ActiveSupport::Autoload, ActiveSupport::Concern
Defined in:
lib/def_cache.rb,
lib/def_cache/version.rb

Defined Under Namespace

Modules: ClassMethods Classes: CacheHandler

Constant Summary collapse

VERSION =
"0.1.2"

Instance Method Summary collapse

Instance Method Details

#flush_method_cache!Object



11
12
13
# File 'lib/def_cache.rb', line 11

def flush_method_cache!
  methods.select { |m| m.to_s.include? 'cache_handler_for_' }.each { |m| send(m).flush! }
end