Exception: ISO8601::Errors::InvalidFractions
- Inherits:
-
StandardError
- Object
- StandardError
- StandardError
- ISO8601::Errors::InvalidFractions
- Defined in:
- lib/iso8601/errors.rb
Overview
Raised when the given pattern contains an invalid fraction.
Instance Method Summary collapse
-
#initialize ⇒ InvalidFractions
constructor
A new instance of InvalidFractions.
Constructor Details
#initialize ⇒ InvalidFractions
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 |