Class: Hiptest::Nodes::Property

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(key, value) ⇒ Property

Returns a new instance of Property.



95
96
97
98
# File 'lib/hiptest-publisher/nodes.rb', line 95

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