Exception: Imgfetcha::FileReader::InputFileNotSpecifiedError
- Inherits:
-
StandardError
- Object
- StandardError
- Imgfetcha::FileReader::InputFileNotSpecifiedError
- Defined in:
- lib/imgfetcha/errors/input_file_not_specified_error.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize ⇒ InputFileNotSpecifiedError
constructor
A new instance of InputFileNotSpecifiedError.
Constructor Details
#initialize ⇒ InputFileNotSpecifiedError
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
#message ⇒ Object (readonly)
Returns the value of attribute message.
4 5 6 |
# File 'lib/imgfetcha/errors/input_file_not_specified_error.rb', line 4 def @message end |