class Cucumber::Wire::StepArgument
Defines the location and value of a captured argument from the step text
Attributes
Public Class Methods
Source
# File lib/cucumber/wire/step_argument.rb, line 11 def initialize(offset, val) @offset, @value = offset, val end
Public Instance Methods
Source
# File lib/cucumber/wire/step_argument.rb, line 19 def group CucumberExpressions::Group.new(@value, @offset, @offset + @value.length, []) end
Source
# File lib/cucumber/wire/step_argument.rb, line 15 def value(_current_world) @value end