Exception: Imgfetcha::FileReader::InputFileNotSpecifiedError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/imgfetcha/errors/input_file_not_specified_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeInputFileNotSpecifiedError

Returns a new instance of InputFileNotSpecifiedError.



6
7
8
# File 'lib/imgfetcha/errors/input_file_not_specified_error.rb', line 6

def initialize
  @message = "Input file was not specified. Please provide the input file with '-i INPUT_FILE'"
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



4
5
6
# File 'lib/imgfetcha/errors/input_file_not_specified_error.rb', line 4

def message
  @message
end