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

Constructor Details

#initialize(actionwords = []) ⇒ Actionwords

Returns a new instance of Actionwords.



428
429
430
431
432
433
# File 'lib/hiptest-publisher/nodes.rb', line 428

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.



427
428
429
# File 'lib/hiptest-publisher/nodes.rb', line 427

def no_implement
  @no_implement
end

#to_implementObject (readonly)

Returns the value of attribute to_implement.



427
428
429
# File 'lib/hiptest-publisher/nodes.rb', line 427

def to_implement
  @to_implement
end

Instance Method Details

#find_actionword(name) ⇒ Object



435
436
437
# File 'lib/hiptest-publisher/nodes.rb', line 435

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