class Cucumber::Glue::RegistryWrapper
def create_expression(string_or_regexp)
If +string_or_regexp+ is a regexp, it will return a new CucumberExpressions::RegularExpression
If +string_or_regexp+ is a string, it will return a new CucumberExpression::CucumberExpression
Creates a new CucumberExpression from the given +string_or_regexp+.
#
def create_expression(string_or_regexp) @registry.create_expression(string_or_regexp) end