Class: Hiptest::Nodes::Actionwords

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

Instance Attribute Summary collapse

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(actionwords = []) ⇒ Actionwords

Returns a new instance of Actionwords.



334
335
336
337
338
339
# File 'lib/hiptest-publisher/nodes.rb', line 334

def initialize(actionwords = [])
  super()
  @children = {:actionwords => actionwords}
  mark_actionwords_for_implementation
  index_actionwords
end

Instance Attribute Details

#no_implementObject (readonly)

Returns the value of attribute no_implement.



333
334
335
# File 'lib/hiptest-publisher/nodes.rb', line 333

def no_implement
  @no_implement
end

#to_implementObject (readonly)

Returns the value of attribute to_implement.



333
334
335
# File 'lib/hiptest-publisher/nodes.rb', line 333

def to_implement
  @to_implement
end

Instance Method Details

#find_actionword(name) ⇒ Object



341
342
343
# File 'lib/hiptest-publisher/nodes.rb', line 341

def find_actionword(name)
  return @actionwords_index[name]
end