Class: Garner::Strategies::Context::Key::Base
- Inherits:
-
Object
- Object
- Garner::Strategies::Context::Key::Base
- Defined in:
- lib/garner/strategies/context/key/base.rb
Direct Known Subclasses
Class Method Summary collapse
-
.apply(identity, _ruby_context = nil) ⇒ Garner::Cache::Identity
Compute a hash of key-value pairs from a given ruby context, and apply it to a cache identity.
Class Method Details
.apply(identity, _ruby_context = nil) ⇒ Garner::Cache::Identity
Compute a hash of key-value pairs from a given ruby context, and apply it to a cache identity.
12 13 14 |
# File 'lib/garner/strategies/context/key/base.rb', line 12 def self.apply(identity, _ruby_context = nil) identity end |