Class: Hiptest::Nodes::Tag

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(key, value = nil) ⇒ Tag

Returns a new instance of Tag.



216
217
218
219
# File 'lib/hiptest-publisher/nodes.rb', line 216

def initialize(key, value = nil)
  super()
  @children = {:key => key, :value => value}
end