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

Create a new instance with the path specified.



19
20
21
# File 'lib/ox/error.rb', line 19

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