Class: DTAS::Pipe
Overview
pipe wrapper for -player sinks
Direct Known Subclasses
Instance Attribute Summary collapse
-
#sink ⇒ Object
Returns the value of attribute sink.
Attributes included from WritableIter
Class Method Summary collapse
Instance Method Summary collapse
-
#nonblock? ⇒ Boolean
avoid syscall, we never change IO#nonblock= directly.
- #pipe_size=(_) ⇒ Object
Methods included from WritableIter
#ready_write_optimized?, #wait_writable_prepare, #writable_iter, #writable_iter_init
Instance Attribute Details
#sink ⇒ Object
Returns the value of attribute sink.
13 14 15 |
# File 'lib/dtas/pipe.rb', line 13 def sink @sink end |
Class Method Details
.new ⇒ Object
15 16 17 18 19 |
# File 'lib/dtas/pipe.rb', line 15 def self.new _, w = rv = pipe w.writable_iter_init rv end |
Instance Method Details
#nonblock? ⇒ Boolean
avoid syscall, we never change IO#nonblock= directly
28 29 30 |
# File 'lib/dtas/pipe.rb', line 28 def nonblock? false end |
#pipe_size=(_) ⇒ Object
23 24 |
# File 'lib/dtas/pipe.rb', line 23 def pipe_size=(_) end |