Method: Perry::Caching.forgo
- Defined in:
- lib/perry/caching.rb
.forgo(&block) ⇒ Object
Accept a block to NOT cache in – caching will be disabled for this block and then returned to the previous status.
64 65 66 |
# File 'lib/perry/caching.rb', line 64 def self.forgo(&block) caching_block(false, &block) end |