class ActiveSupport::Cache::Store

Public Instance Methods

default_instrument(operation, key, options = nil)
Alias for: instrument
instrument(operation, key, options = nil) click to toggle source
# File lib/restash_rails/rails_ext/active_support/cache/store.rb, line 5
def instrument(operation, key, options = nil)
  self.class.instrument = true
  default_instrument(operation, key, options, &Proc.new)
end
Also aliased as: default_instrument