Exception: Remap::PathError

Inherits:
Error
  • Object
show all
Defined in:
lib/remap/path_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ PathError

Returns a new instance of PathError.



8
9
10
11
# File 'lib/remap/path_error.rb', line 8

def initialize(path)
  super(path.join("."))
  @path = path
end

Instance Attribute Details

#pathArray<Key> (readonly)

Returns:

  • (Array<Key>)


6
7
8
# File 'lib/remap/path_error.rb', line 6

def path
  @path
end