Exception: Vedeu::Error::RequiresBlock Private

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

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

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

Instance Method Summary collapse

Instance Method Details

#messageString

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns an error message.

Returns:

  • (String)


108
109
110
# File 'lib/vedeu/error.rb', line 108

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