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

#==, #each_direct_children, #each_sub_nodes, #kind, #pretty_print_instance_variables, #project, #render

Constructor Details

#initialize(name, description = '', tags = [], body = []) ⇒ Test

Returns a new instance of Test.



291
292
293
294
295
296
297
298
299
300
# File 'lib/hiptest-publisher/nodes.rb', line 291

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

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

Instance Method Details

#folderObject



302
303
304
# File 'lib/hiptest-publisher/nodes.rb', line 302

def folder
  nil
end