diff options
Diffstat (limited to 'lib/dtas/pipe.rb')
-rw-r--r-- | lib/dtas/pipe.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/dtas/pipe.rb b/lib/dtas/pipe.rb index 891e9cd..d61ac7a 100644 --- a/lib/dtas/pipe.rb +++ b/lib/dtas/pipe.rb @@ -1,5 +1,4 @@ # -*- encoding: binary -*- -# :stopdoc: # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt) begin @@ -9,7 +8,7 @@ end require_relative '../dtas' require_relative 'writable_iter' -class DTAS::Pipe < IO +class DTAS::Pipe < IO # :nodoc: include DTAS::WritableIter attr_accessor :sink @@ -33,7 +32,7 @@ end # We don't need fcntl at all for splice/tee in Linux # For non-Linux, we write_nonblock/read_nonblock already call fcntl() # behind our backs, so there's no need to repeat it. -class DTAS::PipeNB < DTAS::Pipe +class DTAS::PipeNB < DTAS::Pipe # :nodoc: def nonblock? true end |