Exception: MapExceptions::NotAdjacentException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/map/mapExceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(pointIni, pointFin) ⇒ NotAdjacentException

Returns a new instance of NotAdjacentException.



13
14
15
16
# File 'lib/map/mapExceptions.rb', line 13

def initialize(pointIni, pointFin)
  msg = "Point #{pointFin} is not an adjacent point of #{pointIni}"
  super(msg)
end