Class: YeSQL::Errors::FilePathDoesNotExistError
- Inherits:
-
Object
- Object
- YeSQL::Errors::FilePathDoesNotExistError
- Defined in:
- lib/yesql/errors/file_path_does_not_exist_error.rb
Instance Method Summary collapse
-
#initialize(file_path) ⇒ FilePathDoesNotExistError
constructor
A new instance of FilePathDoesNotExistError.
- #validate_file_path_existence ⇒ Object
Constructor Details
#initialize(file_path) ⇒ FilePathDoesNotExistError
Returns a new instance of FilePathDoesNotExistError.
6 7 8 |
# File 'lib/yesql/errors/file_path_does_not_exist_error.rb', line 6 def initialize(file_path) @file_path = file_path end |
Instance Method Details
#validate_file_path_existence ⇒ Object
10 11 12 13 14 |
# File 'lib/yesql/errors/file_path_does_not_exist_error.rb', line 10 def validate_file_path_existence return if file_exists? raise ::NotImplementedError, end |