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.



23
24
25
# File 'lib/iso8601/errors.rb', line 23

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