Class: Hiptest::Nodes::Property
- Defined in:
- lib/hiptest-publisher/nodes.rb
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(key, value) ⇒ Property
constructor
A new instance of Property.
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 |