Module: Cucumber::UsualSuspects::ExpandsStepDefinitionRegexps

Defined in:
lib/cucumber/usual_suspects.rb,
lib/cucumber/usual_suspects/expands_step_definition_regexps.rb

Instance Method Summary collapse

Instance Method Details

#register_rb_step_definition(regexp, proc) ⇒ Object



11
12
13
14
# File 'lib/cucumber/usual_suspects.rb', line 11

def register_rb_step_definition(regexp, proc)
  expanded_regexp = Cucumber::UsualSuspects.expand(regexp)
  super expanded_regexp, proc
end