instance method
read
Ruby on Rails 4.2.9
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 47
def read(key)
body = open(key)
body.join if body
end
Defined in actionpack/lib/action_dispatch/http/rack_cache.rb line 47
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::RailsEntityStore