Class: Hiptest::Nodes::Item

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

Direct Known Subclasses

Actionword, Scenario

Instance Attribute Summary collapse

Attributes inherited from Node

#children, #parent

Instance Method Summary collapse

Methods inherited from Node

#direct_children, #find_sub_nodes, #render

Constructor Details

#initialize(name, tags = [], parameters = [], body = []) ⇒ Item

Returns a new instance of Item.



224
225
226
227
228
229
230
231
232
# File 'lib/hiptest-publisher/nodes.rb', line 224

def initialize(name, tags = [], parameters = [], body = [])
  super()
  @children = {
    :name => name,
    :tags => tags,
    :parameters => parameters,
    :body => body
  }
end

Instance Attribute Details

#non_valued_parametersObject (readonly)

Returns the value of attribute non_valued_parameters.



222
223
224
# File 'lib/hiptest-publisher/nodes.rb', line 222

def non_valued_parameters
  @non_valued_parameters
end

#valued_parametersObject (readonly)

Returns the value of attribute valued_parameters.



222
223
224
# File 'lib/hiptest-publisher/nodes.rb', line 222

def valued_parameters
  @valued_parameters
end

#variablesObject (readonly)

Returns the value of attribute variables.



222
223
224
# File 'lib/hiptest-publisher/nodes.rb', line 222

def variables
  @variables
end