Class: Hiptest::Nodes::Scenarios

Inherits:
Node
  • Object
show all
Defined in:
lib/hiptest-publisher/nodes.rb

Instance Attribute Summary

Attributes inherited from Node

#children, #parent

Instance Method Summary collapse

Methods inherited from Node

#direct_children, #find_sub_nodes, #render

Constructor Details

#initialize(scenarios = []) ⇒ Scenarios

Returns a new instance of Scenarios.



292
293
294
295
296
# File 'lib/hiptest-publisher/nodes.rb', line 292

def initialize(scenarios = [])
  super()
  @children = {:scenarios => scenarios}
  scenarios.each {|sc| sc.parent = self}
end