Exception: Derelict::Instance::NonDirectory

Inherits:
Invalid show all
Defined in:
lib/derelict/instance/non_directory.rb

Overview

The path used for the instance was a file, not a directory

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ NonDirectory

Initializes a new instance of this exception for a given path

* path: The requested path of the instance


8
9
10
# File 'lib/derelict/instance/non_directory.rb', line 8

def initialize(path)
  super "expected directory, found file: #{path}"
end