Sha256: daee6e8739e19c0ad82442c320173488fabcb768546584b2c79cebd3108a6fca
Contents?: true
Size: 1007 Bytes
Versions: 33
Compression:
Stored size: 1007 Bytes
Contents
# The exception class used when the data file is not configured. class DataFileNotConfigured < Exception # Set the message to return when a data file is not configured. # # @return [String] The message to return if the data file is not configured. def message 'No data file was specified. Usage: populates <file>' end end # The exception class used when the data file is missing. class MissingDataFile < Exception # Set the message to return when a data file is missing. # # @return [String] The message to return if the data file is missing. def message 'The data file configured is missing.' end end # The exception class used when the process method is not overridden. class MethodNotOverridden < Exception # Set the message to return when the process method is not overridden. # # @return [String] The message to return when the process method is not overridden. def message 'You must override the .process method in the extended populator class.' end end
Version data entries
33 entries across 33 versions & 2 rubygems