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, #flat_string, #kind, #pretty_print_instance_variables, #project, #render

Constructor Details

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

Returns a new instance of Test.



384
385
386
387
388
389
390
391
392
393
# File 'lib/hiptest-publisher/nodes.rb', line 384

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

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

Instance Method Details

#folderObject



395
396
397
# File 'lib/hiptest-publisher/nodes.rb', line 395

def folder
  nil
end