class Cucumber::Glue::RegistryWrapper
This class wraps some internals methods to expose them to external plugins.
#
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
def current_world
#
def current_world @registry.current_world end
def initialize(registry)
def initialize(registry) @registry = registry end