Method: Cod::Pipe#select

Defined in:
lib/cod/pipe.rb

#select(timeout = nil) ⇒ Object

Returns if this pipe is ready for reading.



141
142
143
144
# File 'lib/cod/pipe.rb', line 141

def select(timeout=nil)
  result = Cod.select(timeout, self)
  not result.nil?
end