Method: ActionDispatch::RailsMetaStore#read

Defined in:
actionpack/lib/action_dispatch/http/rack_cache.rb

#read(key) ⇒ Object



21
22
23
24
25
26
27
# File 'actionpack/lib/action_dispatch/http/rack_cache.rb', line 21

def read(key)
  if data = @store.read(key)
    Marshal.load(data)
  else
    []
  end
end