Class: RSwim::Pipe::Simple

Inherits:
RSwim::Pipe show all
Defined in:
lib/rswim/pipe.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RSwim::Pipe

#inbound, #send, simple

Constructor Details

#initializeSimple

Returns a new instance of Simple.



26
27
28
# File 'lib/rswim/pipe.rb', line 26

def initialize
  super(Queue.new, Queue.new)
end

Instance Attribute Details

#q_inObject (readonly)

Returns the value of attribute q_in.



24
25
26
# File 'lib/rswim/pipe.rb', line 24

def q_in
  @q_in
end

#q_outObject (readonly)

Returns the value of attribute q_out.



24
25
26
# File 'lib/rswim/pipe.rb', line 24

def q_out
  @q_out
end