class Cucumber::Glue::StepDefinition

A Step Definition holds a Regexp pattern and a Proc, and is typically created by calling {Dsl#register_rb_step_definition Given, When or Then} in the step_definitions Ruby files.

Example:

Given /I have (\d+) cucumbers in my belly/ do
  # some code here
end