Skip to content

Commit

Permalink
body is always an array, no point in trying to call close
Browse files Browse the repository at this point in the history
  • Loading branch information
rkh committed Jun 9, 2011
1 parent c627b71 commit 5778964
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/rack/response.rb
Expand Up @@ -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
Expand Down

0 comments on commit 5778964

Please sign in to comment.