diff options
Diffstat (limited to 'lib/yahns/sendfile_compat.rb')
-rw-r--r-- | lib/yahns/sendfile_compat.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/yahns/sendfile_compat.rb b/lib/yahns/sendfile_compat.rb index da2a9ec..bd79c0c 100644 --- a/lib/yahns/sendfile_compat.rb +++ b/lib/yahns/sendfile_compat.rb @@ -2,7 +2,7 @@ # Copyright (C) 2013-2015 all contributors <yahns-public@yhbt.net> # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt) -module Yahns::SendfileCompat +module Yahns::SendfileCompat # :nodoc: def trysendfile(io, offset, count) return 0 if count == 0 count = 0x4000 if count > 0x4000 @@ -22,6 +22,6 @@ module Yahns::SendfileCompat end end -class IO +class IO # :nodoc: include Yahns::SendfileCompat end |