module Cucumber::StepMother

def extend_world

def extend_world
  @current_world.extend(World)
  @current_world.extend(::Spec::Matchers) if defined?(::Spec::Matchers)
  (@world_modules || []).each do |mod|
    @current_world.extend(mod)
  end
end