Class | Cucumber::RbSupport::RbStepDefinition |
In: |
lib/cucumber/rb_support/rb_step_definition.rb
|
Parent: | Object |
A Ruby Step Definition holds a Regexp and a Proc, and is created by calling Given, When or Then in the step_definitions ruby files. See also RbDsl.
Example:
Given /I have (\d+) cucumbers in my belly/ do # some code here end