Permalink
Browse files

body is always an array, no point in trying to call close

  • Loading branch information...
1 parent c627b71 commit 57789645095af82de33a99905bcd7060eb33ab2a @rkh rkh committed Jun 9, 2011
Showing with 0 additions and 4 deletions.
  1. +0 −4 lib/rack/response.rb
View
@@ -101,10 +101,6 @@ def write(str)
str
end
- def close
- body.close if body.respond_to?(:close)
- end
-
def empty?
@block == nil && @body.empty?
end

0 comments on commit 5778964

Please sign in to comment.