Class: Async::IO::StandardInput

Inherits:
Generic
  • Object
show all
Defined in:
lib/async/io/standard.rb

Constant Summary

Constants inherited from Generic

Generic::WRAPPERS

Instance Attribute Summary

Attributes inherited from Generic

#timeout

Instance Method Summary collapse

Methods inherited from Generic

#<<, #connected?, #dup, #nonblock, #nonblock=, #nonblock?, #read, #sysread, #syswrite, #wait, wrap, wrap_blocking_method, wraps, #write

Constructor Details

#initialize(io = $stdin) ⇒ StandardInput

Returns a new instance of StandardInput.


28
29
30
# File 'lib/async/io/standard.rb', line 28

def initialize(io = $stdin)
	super(io)
end