Class: Hiptest::Nodes::While
- Defined in:
- lib/hiptest-publisher/nodes.rb
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(condition, body) ⇒ While
constructor
A new instance of While.
Methods inherited from Node
#direct_children, #find_sub_nodes, #render
Constructor Details
#initialize(condition, body) ⇒ While
Returns a new instance of While.
193 194 195 196 |
# File 'lib/hiptest-publisher/nodes.rb', line 193 def initialize(condition, body) super() @children = {:condition => condition, :body => body} end |