diff options
Diffstat (limited to 'lib/unicorn/oob_gc.rb')
-rw-r--r-- | lib/unicorn/oob_gc.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/unicorn/oob_gc.rb b/lib/unicorn/oob_gc.rb index 8dc4dcf..402d4ed 100644 --- a/lib/unicorn/oob_gc.rb +++ b/lib/unicorn/oob_gc.rb @@ -38,8 +38,8 @@ module Unicorn [ status, headers, self ] end - def each(&block) - body.each(&block) + def each + body.each { |x| yield x } end # in Unicorn, this is closed _after_ the client socket |