instance method
write
Ruby on Rails 4.0.13
Since v3.1.12 Last seen in v7.0.10Signature
write(body)
No documentation comment.
Parameters
-
bodyreq
Source
# File actionpack/lib/action_dispatch/http/rack_cache.rb, line 52
def write(body)
buf = []
key, size = slurp(body) { |part| buf << part }
@store.write(key, buf)
[key, size]
end
Defined in actionpack/lib/action_dispatch/http/rack_cache.rb line 52
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::RailsEntityStore