about summary refs log tree commit homepage
path: root/lib/yahns/sendfile_compat.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-12-15 08:18:59 +0000
committerEric Wong <e@80x24.org>2015-12-15 08:22:53 +0000
commit1105a6957eed26a922a27bd6e6dbbc457524b664 (patch)
tree9e8c2a06ea99a60054ae60ccd7c1eec1fbad9d58 /lib/yahns/sendfile_compat.rb
parent0ffe20a3310e2c98c49034d2135ac41069d2fd85 (diff)
downloadyahns-1105a6957eed26a922a27bd6e6dbbc457524b664.tar.gz
We do not expose any sort of API beyond what's in the config file
manpage to our users.  Do not mislead them into thinking we
currently have a stable API (though I'm considering one).

This avoids wasting disk space and installation time for users who
do not have a: "gem: --no-ri --no-rdoc" line in their ~/.gemrc
Diffstat (limited to 'lib/yahns/sendfile_compat.rb')
-rw-r--r--lib/yahns/sendfile_compat.rb4
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