diff options
Diffstat (limited to 'lib/rack/response.rb')
-rw-r--r-- | lib/rack/response.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rack/response.rb b/lib/rack/response.rb index 58f9e5d6..f39848cc 100644 --- a/lib/rack/response.rb +++ b/lib/rack/response.rb @@ -72,11 +72,10 @@ module Rack close [status.to_i, header, []] else - [status.to_i, header, BodyProxy.new(self){}] + [status.to_i, header, self] end end alias to_a finish # For *response - alias to_ary finish # For implicit-splat on Ruby 1.9.2 def each(&callback) @body.each(&callback) |