Method: Garner::Cache::Binding#key_strategy

Defined in:
lib/garner/cache/binding.rb

#key_strategyObject

Override this method to use a custom key strategy.

Returns:

  • (Object)

    The strategy to be used for instances of this class.



14
15
16
# File 'lib/garner/cache/binding.rb', line 14

def key_strategy
  Garner.config.binding_key_strategy
end