Exception: Serverkit::Errors::NonExistentPathError
- Defined in:
- lib/serverkit/errors/non_existent_path_error.rb
Instance Method Summary collapse
-
#initialize(path) ⇒ NonExistentPathError
constructor
A new instance of NonExistentPathError.
- #to_s ⇒ String
Constructor Details
#initialize(path) ⇒ NonExistentPathError
Returns a new instance of NonExistentPathError.
7 8 9 |
# File 'lib/serverkit/errors/non_existent_path_error.rb', line 7 def initialize(path) @path = path end |
Instance Method Details
#to_s ⇒ String
12 13 14 |
# File 'lib/serverkit/errors/non_existent_path_error.rb', line 12 def to_s abort "No such file or directory `#{@path}`" end |