Class: RSwim::Pipe::Simple
- Inherits:
-
RSwim::Pipe
- Object
- RSwim::Pipe
- RSwim::Pipe::Simple
- Defined in:
- lib/rswim/pipe.rb
Instance Attribute Summary collapse
-
#q_in ⇒ Object
readonly
Returns the value of attribute q_in.
-
#q_out ⇒ Object
readonly
Returns the value of attribute q_out.
Instance Method Summary collapse
-
#initialize ⇒ Simple
constructor
A new instance of Simple.
Methods inherited from RSwim::Pipe
Constructor Details
#initialize ⇒ Simple
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_in ⇒ Object (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_out ⇒ Object (readonly)
Returns the value of attribute q_out.
24 25 26 |
# File 'lib/rswim/pipe.rb', line 24 def q_out @q_out end |