Sha256: 6f49bb2bacc69d6bcc7e4b05e8465b3dc235c9ca406a3c24897243e705770437
Contents?: true
Size: 492 Bytes
Versions: 2
Compression:
Stored size: 492 Bytes
Contents
require 'cucumber/core_ext/string' module Cucumber module LanguageSupport module StepDefinitionMethods def step_match(name_to_match, name_to_report) if(groups = groups(name_to_match)) StepMatch.new(self, name_to_match, name_to_report, groups) else nil end end def backtrace_line "#{file_colon_line}:in `#{regexp.inspect}'" end def text_length regexp.inspect.jlength end end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
aslakhellesoy-cucumber-0.3.102 | lib/cucumber/language_support/step_definition_methods.rb |
cucumber-0.3.102 | lib/cucumber/language_support/step_definition_methods.rb |