Exception: Vedeu::Error::RequiresBlock

Inherits:
StandardError
  • Object
show all
Defined in:
lib/vedeu/error.rb

Overview

Raised when a method expecting a block to be given was not given the block.

Instance Method Summary collapse

Instance Method Details

#messageString

Returns:

  • (String)


101
102
103
# File 'lib/vedeu/error.rb', line 101

def message
  'The required block was not given.'.freeze
end