Class: RIO::IOPair
Direct Known Subclasses
Instance Attribute Summary collapse
-
#in ⇒ Object
(also: #wr)
Returns the value of attribute in.
-
#out ⇒ Object
(also: #rd)
Returns the value of attribute out.
Instance Method Summary collapse
-
#initialize(out = nil, inp = nil) ⇒ IOPair
constructor
A new instance of IOPair.
Constructor Details
#initialize(out = nil, inp = nil) ⇒ IOPair
Returns a new instance of IOPair.
6 7 8 |
# File 'lib/rio/fibpipe.rb', line 6 def initialize(out=nil,inp=nil) @in,@out = inp,out end |