Class: Hiptest::Nodes::Parenthesis

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(content) ⇒ Parenthesis

Returns a new instance of Parenthesis.



167
168
169
170
# File 'lib/hiptest-publisher/nodes.rb', line 167

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