Class | Cucumber::RbSupport::RbTransform |
In: |
lib/cucumber/rb_support/rb_transform.rb
|
Parent: | Object |
A Ruby Transform holds a Regexp and a Proc, and is created by calling Transform in the <tt>support ruby files. See also RbDsl.
Example:
Transform /^(\d+) cucumbers$/ do |cucumbers_string| cucumbers_string.to_i end