Exception: DataFileNotConfigured

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

Overview

The exception class used when the data file is not configured.

Instance Method Summary collapse

Instance Method Details

#messageString

Set the message to return when a data file is not configured.

Returns:

  • (String)

    The message to return if the data file is not configured.



7
8
9
# File 'lib/smilodon/errors.rb', line 7

def message
  'No data file was specified. Usage: populates <file>'
end