Class: Shallow::Caller::Clear
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Shallow::Caller::Base
Instance Method Details
#call(&context) ⇒ Object
88 89 90 91 |
# File 'lib/shallow.rb', line 88 def call(&context) cache.delete(cache_key) if cache.exist?(cache_key) super(&context) end |