Class: Hiptest::Nodes::Scenario

Inherits:
Item
  • Object
show all
Defined in:
lib/hiptest-publisher/nodes.rb

Instance Attribute Summary collapse

Attributes inherited from Item

#non_valued_parameters, #valued_parameters, #variables

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 = [], parameters = [], body = [], folder_uid = nil, datatable = Datatable.new) ⇒ Scenario

Returns a new instance of Scenario.



241
242
243
244
245
246
247
# File 'lib/hiptest-publisher/nodes.rb', line 241

def initialize(name, description = '', tags = [], parameters = [], body = [], folder_uid = nil, datatable = Datatable.new)
  super(name, tags, parameters, body)
  @children[:description] = description
  @children[:datatable] = datatable

  @folder_uid = folder_uid
end

Instance Attribute Details

#folder_uidObject (readonly)

Returns the value of attribute folder_uid.



239
240
241
# File 'lib/hiptest-publisher/nodes.rb', line 239

def folder_uid
  @folder_uid
end