Method: Rddd::Presenters::CacheEntry#initialize
- Defined in:
- lib/rddd/presenters/cache_entry.rb
#initialize(key, strategy) ⇒ CacheEntry
Returns a new instance of CacheEntry.
8 9 10 11 |
# File 'lib/rddd/presenters/cache_entry.rb', line 8 def initialize(key, strategy) @key = key @strategy = strategy end |