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