class KXI::Exceptions::WorkspaceCollisionException

Raised when part of workspace path is a file

Public Class Methods

new(path) click to toggle source

Instantiates the {KXI::Exceptions::WorkspaceCollisionException} class @param [string] path Path of workspace

Calls superclass method
# File lib/kxi/exceptions/workspace_collision_exception.rb, line 15
def initialize(path)
        super("Workspace path '#{path}' is used by file!")
        @path = path
end

Public Instance Methods

path() click to toggle source

Gets the path of workspace @return [string] Path of workspace

# File lib/kxi/exceptions/workspace_collision_exception.rb, line 9
def path
        @path
end