Class: Hiptest::Nodes::Call

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, #kind, #pretty_print_instance_variables, #project, #render

Constructor Details

#initialize(actionword, arguments = [], annotation = nil) ⇒ Call

Returns a new instance of Call.



187
188
189
190
191
# File 'lib/hiptest-publisher/nodes.rb', line 187

def initialize(actionword, arguments = [], annotation = nil)
  super()
  annotation = nil if annotation == ""
  @children = {:actionword => actionword, :arguments => arguments, :all_arguments => arguments, :annotation => annotation}
end