Class: RIO::IOPair

Inherits:
Object show all
Defined in:
lib/rio/fibpipe.rb

Direct Known Subclasses

IOPipe

Instance Attribute Summary collapse

Instance Method Summary collapse

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

Instance Attribute Details

#inObject Also known as: wr

Returns the value of attribute in.



5
6
7
# File 'lib/rio/fibpipe.rb', line 5

def in
  @in
end

#outObject Also known as: rd

Returns the value of attribute out.



5
6
7
# File 'lib/rio/fibpipe.rb', line 5

def out
  @out
end