Exception: VORuby::CoordinateSystems::NotACoordinateException

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/voruby/spacetime/spacetime.rb

Instance Method Summary collapse

Constructor Details

#initialize(value, intended_name) ⇒ NotACoordinateException

Returns a new instance of NotACoordinateException.



66
67
68
# File 'lib/voruby/spacetime/spacetime.rb', line 66

def initialize(value, intended_name)
  super("'#{value}' (#{value.class}) is not (or can't be converted to) a #{intended_name} object.")
end