Exception: PlatinaWorld::Errors::FilePathError
- Defined in:
- lib/platina_world/errors/file_path_error.rb
Instance Method Summary collapse
-
#initialize(file_path) ⇒ FilePathError
constructor
A new instance of FilePathError.
- #to_s ⇒ Object
Constructor Details
#initialize(file_path) ⇒ FilePathError
Returns a new instance of FilePathError.
6 7 8 |
# File 'lib/platina_world/errors/file_path_error.rb', line 6 def initialize(file_path) @file_path = file_path end |
Instance Method Details
#to_s ⇒ Object
10 11 12 |
# File 'lib/platina_world/errors/file_path_error.rb', line 10 def to_s "File does not exist: `#{@file_path}`" end |