about summary refs log tree commit homepage
path: root/lib/rainbows/sendfile.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/sendfile.rb')
-rw-r--r--lib/rainbows/sendfile.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/sendfile.rb b/lib/rainbows/sendfile.rb
index 545b85c..767c0f9 100644
--- a/lib/rainbows/sendfile.rb
+++ b/lib/rainbows/sendfile.rb
@@ -63,7 +63,7 @@ class Rainbows::Sendfile < Struct.new(:app)
     end
 
     # fallback in case our +to_path+ doesn't get handled for whatever reason
-    def each(&block)
+    def each
       buf = ''
       File.open(to_path) do |fp|
         yield buf while fp.read(0x4000, buf)