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 = self) ⇒ 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 = self) ⇒ Garner::Cache::Identity
Compute a hash of key-value pairs from a given ruby context, and apply it to a cache identity.
13 14 15 |
# File 'lib/garner/strategies/context/key/base.rb', line 13 def self.apply(identity, ruby_context = self) identity end |