From 0004ca3a9725b5c89b671d6f5bcfb245a5800af7 Mon Sep 17 00:00:00 2001
From: Matthew Stopa <matthew.p.stopa@gmail.com>
Date: Wed, 16 Jan 2013 00:48:13 -0700
Subject: More documentation for ActionDispatch::Response

[ci skip]
---
 actionpack/lib/action_dispatch/http/response.rb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'actionpack')

diff --git a/actionpack/lib/action_dispatch/http/response.rb b/actionpack/lib/action_dispatch/http/response.rb
index 8760319001..15ccfa2735 100644
--- a/actionpack/lib/action_dispatch/http/response.rb
+++ b/actionpack/lib/action_dispatch/http/response.rb
@@ -172,7 +172,8 @@ module ActionDispatch # :nodoc:
       stream.to_path
     end
 
-    # Returns the content of the response as a String.
+    # Returns the content of the response as a String. This contains the contents
+    # of any calls to <tt>render</tt>.
     def body
       strings = []
       each { |part| strings << part.to_s }
@@ -181,6 +182,7 @@ module ActionDispatch # :nodoc:
 
     EMPTY = " "
 
+    # Allows you to set manually set or override the response body.
     def body=(body)
       @blank = true if body == EMPTY
 
-- 
cgit v1.2.3