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.



23
24
25
# File 'lib/ox/error.rb', line 23

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