Exception: KXI::Exceptions::WorkspaceCollisionException
- Inherits:
-
Exception
- Object
- Exception
- KXI::Exceptions::WorkspaceCollisionException
- Defined in:
- lib/kxi/exceptions/workspace_collision_exception.rb
Overview
Raised when part of workspace path is a file
Instance Method Summary collapse
-
#initialize(path) ⇒ WorkspaceCollisionException
constructor
Instantiates the WorkspaceCollisionException class.
-
#path ⇒ string
Gets the path of workspace.
Constructor Details
#initialize(path) ⇒ WorkspaceCollisionException
Instantiates the KXI::Exceptions::WorkspaceCollisionException class
15 16 17 18 |
# File 'lib/kxi/exceptions/workspace_collision_exception.rb', line 15 def initialize(path) super("Workspace path '#{path}' is used by file!") @path = path end |
Instance Method Details
#path ⇒ string
Gets the path of workspace
9 10 11 |
# File 'lib/kxi/exceptions/workspace_collision_exception.rb', line 9 def path @path end |