# File lib/cucumber/rb_support/regexp_argument_matcher.rb, line 6
6: def self.arguments_from(regexp, step_name)
7: match = regexp.match(step_name)
8: if match
9: n = 0
10: match.captures.map do |val|
11: n += 1
12: start = match.offset(n)[0]
13: StepArgument.new(val, start)
14: end
15: else
16: nil
17: end
18: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.