Class: Hiptest::Nodes::Tag
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(key, value = nil) ⇒ Tag
constructor
A new instance of Tag.
Methods inherited from Node
#direct_children, #find_sub_nodes, #render
Constructor Details
#initialize(key, value = nil) ⇒ Tag
Returns a new instance of Tag.
200 201 202 203 |
# File 'lib/hiptest-publisher/nodes.rb', line 200 def initialize(key, value = nil) super() @children = {:key => key, :value => value} end |