Class: Vaulty::EmptyPath
- Inherits:
-
GLI::CustomExit
- Object
- GLI::CustomExit
- Vaulty::EmptyPath
- Defined in:
- lib/vaulty.rb
Overview
This error is raised when we try to show / operate on a path that does not contain anything
Instance Method Summary collapse
-
#initialize(path) ⇒ EmptyPath
constructor
A new instance of EmptyPath.
Constructor Details
#initialize(path) ⇒ EmptyPath
Returns a new instance of EmptyPath.
36 37 38 |
# File 'lib/vaulty.rb', line 36 def initialize(path) super("Path #{path.inspect} contains nothing", -1) end |