Exception: Ox::InvalidPath

Inherits:
Error
  • Object
show all
Defined in:
lib/ox/error.rb

Overview

An Exception raised if a path is not valid.

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ InvalidPath

Returns a new instance of InvalidPath


17
18
19
# File 'lib/ox/error.rb', line 17

def initialize(path)
  super("#{path.join('/')} is not a valid location.")
end