Exception: Cucumber::Glue::NilWorld

Inherits:
StandardError
  • Object
show all
Defined in:
lib/cucumber/glue/registry_and_more.rb

Overview

Raised if a World block returns Nil.

Instance Method Summary collapse

Constructor Details

#initializeNilWorld

Returns a new instance of NilWorld.



24
25
26
# File 'lib/cucumber/glue/registry_and_more.rb', line 24

def initialize
  super('World procs should never return nil')
end