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



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

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