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
#==, #each_direct_children, #each_sub_nodes, #flat_string, #kind, #pretty_print_instance_variables, #project, #render
Constructor Details
#initialize(condition, body) ⇒ While
Returns a new instance of While.
253 254 255 256 |
# File 'lib/hiptest-publisher/nodes.rb', line 253 def initialize(condition, body) super() @children = {condition: condition, body: body} end |