Class: Hiptest::Nodes::Scenarios
- Defined in:
- lib/hiptest-publisher/nodes.rb
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(scenarios = []) ⇒ Scenarios
constructor
A new instance of Scenarios.
Methods inherited from Node
#==, #each_direct_children, #each_sub_nodes, #flat_string, #kind, #pretty_print_instance_variables, #project, #render
Constructor Details
#initialize(scenarios = []) ⇒ Scenarios
Returns a new instance of Scenarios.
463 464 465 466 467 |
# File 'lib/hiptest-publisher/nodes.rb', line 463 def initialize(scenarios = []) super() @children = {scenarios: scenarios} scenarios.each {|sc| sc.parent = self} end |