Class: Hiptest::Nodes::List

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

#==, #each_direct_children, #each_sub_nodes, #flat_string, #kind, #pretty_print_instance_variables, #project, #render

Constructor Details

#initialize(items) ⇒ List

Returns a new instance of List.



174
175
176
177
# File 'lib/hiptest-publisher/nodes.rb', line 174

def initialize(items)
  super()
  @children = {items: items}
end