Method: ActiveSupport::Cache::Strategy::LocalCache::LocalStore#fetch_entry

Defined in:
activesupport/lib/active_support/cache/strategy/local_cache.rb

#fetch_entry(key) ⇒ Object

:nodoc:



61
62
63
# File 'activesupport/lib/active_support/cache/strategy/local_cache.rb', line 61

def fetch_entry(key) # :nodoc:
  @data.fetch(key) { @data[key] = yield }
end