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 12 def initialize(offset, val) @offset = offset @value = val end
Public Instance Methods
Source
# File lib/cucumber/wire/step_argument.rb, line 21 def group CucumberExpressions::Group.new(@value, @offset, @offset + @value.length, []) end
Source
# File lib/cucumber/wire/step_argument.rb, line 17 def value(_current_world) @value end