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 requiring a block was not given the block.

Raises:

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)


151
152
153
# File 'lib/vedeu/error.rb', line 151

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