Class: ActiveSupport::Cache::Store
- Inherits:
-
Object
- Object
- ActiveSupport::Cache::Store
- Defined in:
- lib/restash_rails/rails_ext/active_support/cache/store.rb
Instance Method Summary collapse
Instance Method Details
#default_instrument ⇒ Object
4 |
# File 'lib/restash_rails/rails_ext/active_support/cache/store.rb', line 4 alias default_instrument instrument |
#instrument(operation, key, options = nil) ⇒ Object
5 6 7 8 |
# File 'lib/restash_rails/rails_ext/active_support/cache/store.rb', line 5 def instrument(operation, key, = nil) self.class.instrument = true default_instrument(operation, key, , &Proc.new) end |