Module: Cucumber::LanguageSupport::StepDefinitionMethods
- Included in:
- RbSupport::RbStepDefinition
- Defined in:
- lib/cucumber/language_support/step_definition_methods.rb
Instance Method Summary collapse
Instance Method Details
#backtrace_line ⇒ Object
14 15 16 |
# File 'lib/cucumber/language_support/step_definition_methods.rb', line 14 def backtrace_line "#{file_colon_line}:in `#{regexp_source}'" end |
#step_match(name_to_match, name_to_report) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/cucumber/language_support/step_definition_methods.rb', line 6 def step_match(name_to_match, name_to_report) if(arguments = arguments_from(name_to_match)) StepMatch.new(self, name_to_match, name_to_report, arguments) else nil end end |
#text_length ⇒ Object
18 19 20 |
# File 'lib/cucumber/language_support/step_definition_methods.rb', line 18 def text_length regexp_source.jlength end |