instance method
read
Ruby on Rails 3.1.12
Since v3.1.12 Last seen in v7.0.10Signature
read(key)
No documentation comment.
Parameters
-
keyreq
Source
# File actionpack/lib/action_dispatch/http/rack_cache.rb, line 16
def read(key)
if data = @store.read(key)
Marshal.load(data)
else
[]
end
end
Defined in actionpack/lib/action_dispatch/http/rack_cache.rb line 16
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::RailsMetaStore