diff options
author | Matthew Stopa <matthew.p.stopa@gmail.com> | 2013-01-16 00:33:08 -0700 |
---|---|---|
committer | Matthew Stopa <matthew.p.stopa@gmail.com> | 2013-01-16 00:33:08 -0700 |
commit | 7b1a58bbae4a479f947087165a3867aea576a53d (patch) | |
tree | 1a5426a43fab0afc9fb3d725af5942a20d40bd0f /actionpack | |
parent | 3daa8e51ccebd8563926cd5ddb17dbb4156be9cb (diff) | |
download | rails-7b1a58bbae4a479f947087165a3867aea576a53d.tar.gz rails-7b1a58bbae4a479f947087165a3867aea576a53d.tar.bz2 rails-7b1a58bbae4a479f947087165a3867aea576a53d.zip |
Document ActionDispatch::Response#body method
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/http/response.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/http/response.rb b/actionpack/lib/action_dispatch/http/response.rb index 91cf4784db..8760319001 100644 --- a/actionpack/lib/action_dispatch/http/response.rb +++ b/actionpack/lib/action_dispatch/http/response.rb @@ -172,6 +172,7 @@ module ActionDispatch # :nodoc: stream.to_path end + # Returns the content of the response as a String. def body strings = [] each { |part| strings << part.to_s } |