diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-12-26 23:41:51 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-12-26 23:41:51 +0000 |
commit | 712ef17547291fed37e79d37d0b6e0128ed43e0d (patch) | |
tree | c0e224535aeae77cfdee514aa51540055f328aeb /lib/rainbows/fiber/body.rb | |
parent | 6733af0546a759b73fd63880e8ef2549caf4c4f2 (diff) | |
download | rainbows-712ef17547291fed37e79d37d0b6e0128ed43e0d.tar.gz |
It's ugly to look at.
Diffstat (limited to 'lib/rainbows/fiber/body.rb')
-rw-r--r-- | lib/rainbows/fiber/body.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/fiber/body.rb b/lib/rainbows/fiber/body.rb index f3299dc..0fe2ec6 100644 --- a/lib/rainbows/fiber/body.rb +++ b/lib/rainbows/fiber/body.rb @@ -11,7 +11,7 @@ module Rainbows::Fiber::Body # :nodoc: } # the sendfile 1.0.0+ gem includes IO#sendfile_nonblock - if ::IO.method_defined?(:sendfile_nonblock) + if IO.method_defined?(:sendfile_nonblock) def write_body_file(client, body, range) sock, n = client.to_io, nil offset, count = range ? range : [ 0, body.stat.size ] |