Method: Cod::Pipe#select
- Defined in:
- lib/cod/pipe.rb
#select(timeout = nil) ⇒ Object
Returns if this pipe is ready for reading.
140 141 142 143 |
# File 'lib/cod/pipe.rb', line 140 def select(timeout=nil) result = Cod.select(timeout, self) not result.nil? end |