lib/lamby/handler.rb in lamby-2.7.1 vs lib/lamby/handler.rb in lamby-2.8.0
- old
+ new
@@ -39,9 +39,10 @@
end
def body
@rbody ||= ''.tap do |rbody|
@body.each { |part| rbody << part if part }
+ @body.close if @body.respond_to? :close
end
end
def call
return self if @called