Exception: MethodNotOverridden

Inherits:
Exception
  • Object
show all
Defined in:
lib/populator/errors.rb

Overview

The exception class used when the process method is not overridden.

Instance Method Summary collapse

Instance Method Details

#messageString

Set the message to return when the process method is not overridden.

Returns:

  • (String)

    The message to return when the process method is not overridden.



29
30
31
# File 'lib/populator/errors.rb', line 29

def message
  'You must override the .process method in the extended populator class.'
end