module Cucumber::Glue::Dsl

def World(*world_modules, **namespaced_world_modules, &proc)


World(my_module: MyModule)

World(MyModule)

end
MyClass.new
World do

Cucumber will not yield anything to the +proc+. Examples:

one Proc you will get an error.
like (to register more modules), but if you try to register more than
features/support. You can call this method as many times as you
This method is typically called from one or more Ruby scripts under

symbols are the namespaces.
possible to create a namespaced World by using an hash, where the
By default the +world modules+ are added to a global namespace. It is

will be mixed into this Object (via Object#extend).
Object that the scenario's steps will run within. Any +world_modules+
The +proc+ will be executed once before each scenario to create an
Registers any number of +world_modules+ (Ruby Modules) and/or a Proc.
def World(*world_modules, **namespaced_world_modules, &proc)
  Dsl.build_rb_world_factory(world_modules, namespaced_world_modules, proc)
end