class Garner::Strategies::Context::Key::Base
Public Class Methods
apply(identity, _ruby_context = nil)
click to toggle source
Compute a hash of key-value pairs from a given ruby context, and apply it to a cache identity.
@param identity [Garner::Cache::Identity] The cache identity. @param ruby_context [Object] An optional Ruby context. @return [Garner::Cache::Identity] The modified identity.
# File lib/garner/strategies/context/key/base.rb, line 12 def self.apply(identity, _ruby_context = nil) identity end