class Hiptest::Nodes::Call

Attributes

chunks[RW]
extra_inlined_arguments[RW]

Public Class Methods

new(actionword, arguments = [], annotation = nil) click to toggle source
Calls superclass method
# File lib/hiptest-publisher/nodes.rb, line 220
def initialize(actionword, arguments = [], annotation = nil)
  super()
  annotation = nil if annotation == ""
  @children = {actionword: actionword, arguments: arguments, all_arguments: arguments, annotation: annotation}

  @chunks = []
  @extra_inlined_arguments = []
end

Public Instance Methods

datatable_arg() click to toggle source
# File lib/hiptest-publisher/nodes.rb, line 233
def datatable_arg
  children[:arguments].find(&:datatable?)
end
free_text_arg() click to toggle source
# File lib/hiptest-publisher/nodes.rb, line 229
def free_text_arg
  children[:arguments].find(&:free_text?)
end