Class: Hiptest::Nodes::Test

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(name, description = '', tags = [], body = []) ⇒ Test

Returns a new instance of Test.



251
252
253
254
255
256
257
258
259
260
# File 'lib/hiptest-publisher/nodes.rb', line 251

def initialize(name, description = '', tags = [], body = [])
  super()

  @children = {
    :name => name,
    :description => description,
    :tags => tags,
    :body => body
  }
end