Exception: VORuby::CoordinateSystems::InvalidTimeOffsetException
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- VORuby::CoordinateSystems::InvalidTimeOffsetException
- Defined in:
- lib/voruby/spacetime/spacetime.rb
Instance Method Summary collapse
-
#initialize(value) ⇒ InvalidTimeOffsetException
constructor
A new instance of InvalidTimeOffsetException.
Constructor Details
#initialize(value) ⇒ InvalidTimeOffsetException
Returns a new instance of InvalidTimeOffsetException.
78 79 80 |
# File 'lib/voruby/spacetime/spacetime.rb', line 78 def initialize(value) super("Offset '#{value}' not recognized. Try a number with s, m, h or d appended.") end |