mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Document ActionDispatch::Response#body method
This commit is contained in:
parent
3daa8e51cc
commit
7b1a58bbae
1 changed files with 1 additions and 0 deletions
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue