Exception: VORuby::CoordinateSystems::CoordinateOutOfRangeException

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

Instance Method Summary collapse

Constructor Details

#initialize(coord_name, value, start_range, end_range) ⇒ CoordinateOutOfRangeException

Returns a new instance of CoordinateOutOfRangeException.



60
61
62
# File 'lib/voruby/spacetime/spacetime.rb', line 60

def initialize(coord_name, value, start_range, end_range)
  super("#{coord_name} of #{value} out of allowed range.  Must be between #{start_range} and #{end_range}.")
end