Exception: ISO8601::Errors::InvalidFractions

Inherits:
StandardError
  • Object
show all
Defined in:
lib/iso8601/errors.rb

Overview

Raised when the given pattern contains an invalid fraction.

Instance Method Summary collapse

Constructor Details

#initializeInvalidFractions

Returns a new instance of InvalidFractions.


17
18
19
# File 'lib/iso8601/errors.rb', line 17

def initialize
  super("Fractions are only allowed in the last component")
end