class Cucumber::Tcl::StepDefinitions::ArgumentList

Public Class Methods

new(test_step) click to toggle source
# File lib/cucumber/tcl/step_definitions.rb, line 44
def initialize(test_step)
  @arguments = [test_step.name]
  test_step.source.last.multiline_arg.describe_to self
end

Public Instance Methods

data_table(arg) click to toggle source
# File lib/cucumber/tcl/step_definitions.rb, line 53
def data_table(arg)
  @arguments << DataTable.new(arg)
end
doc_string(arg) click to toggle source
# File lib/cucumber/tcl/step_definitions.rb, line 49
def doc_string(arg)
  @arguments << arg.content
end
to_a() click to toggle source
# File lib/cucumber/tcl/step_definitions.rb, line 57
def to_a
  @arguments
end