about summary refs log tree commit homepage
path: root/lib/rainbows/reverse_proxy
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/reverse_proxy')
-rw-r--r--lib/rainbows/reverse_proxy/ev_client.rb2
-rw-r--r--lib/rainbows/reverse_proxy/synchronous.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/rainbows/reverse_proxy/ev_client.rb b/lib/rainbows/reverse_proxy/ev_client.rb
index 94e7f82..cf97c4d 100644
--- a/lib/rainbows/reverse_proxy/ev_client.rb
+++ b/lib/rainbows/reverse_proxy/ev_client.rb
@@ -26,7 +26,7 @@ module Rainbows::ReverseProxy::EvClient
   end
 
   class LargeBody < Tempfile
-    def each(&block)
+    def each
       buf = ""
       rewind
       while read(16384, buf)
diff --git a/lib/rainbows/reverse_proxy/synchronous.rb b/lib/rainbows/reverse_proxy/synchronous.rb
index b5911a9..bbb9ec5 100644
--- a/lib/rainbows/reverse_proxy/synchronous.rb
+++ b/lib/rainbows/reverse_proxy/synchronous.rb
@@ -3,7 +3,7 @@
 module Rainbows::ReverseProxy::Synchronous
   UpstreamSocket = Rainbows::ReverseProxy::UpstreamSocket
 
-  def each_block(input, &block)
+  def each_block(input)
     buf = ""
     while input.read(16384, buf)
       yield buf