Class: Pacer::SideEffect::AsVar::AsPipe
- Inherits:
-
Pipes::RubyPipe
- Object
- AbstractPipe
- Pipes::RubyPipe
- Pacer::SideEffect::AsVar::AsPipe
- Defined in:
- lib/pacer/side_effect/as_var.rb
Instance Attribute Summary collapse
-
#vars ⇒ Object
Returns the value of attribute vars.
Attributes inherited from Pipes::RubyPipe
Instance Method Summary collapse
- #getCurrentPath ⇒ Object
-
#initialize(pipe, vars, variable_name) ⇒ AsPipe
constructor
A new instance of AsPipe.
Methods inherited from Pipes::RubyPipe
#enablePath, #reset, #setStarts
Constructor Details
#initialize(pipe, vars, variable_name) ⇒ AsPipe
Returns a new instance of AsPipe.
19 20 21 22 23 24 |
# File 'lib/pacer/side_effect/as_var.rb', line 19 def initialize(pipe, vars, variable_name) super() setStarts pipe if pipe @vars = vars @variable_name = variable_name end |
Instance Attribute Details
#vars ⇒ Object
Returns the value of attribute vars.
17 18 19 |
# File 'lib/pacer/side_effect/as_var.rb', line 17 def vars @vars end |
Instance Method Details
#getCurrentPath ⇒ Object
26 27 28 |
# File 'lib/pacer/side_effect/as_var.rb', line 26 def getCurrentPath starts.getCurrentPath end |