Exception: ISO8601::Errors::UnknownPattern
- Inherits:
-
StandardError
- Object
- StandardError
- StandardError
- ISO8601::Errors::UnknownPattern
- Defined in:
- lib/iso8601/errors.rb
Overview
Raised when the given pattern doesn’t fit as ISO 8601 parser.
Instance Method Summary collapse
-
#initialize(pattern) ⇒ UnknownPattern
constructor
A new instance of UnknownPattern.
Constructor Details
#initialize(pattern) ⇒ UnknownPattern
Returns a new instance of UnknownPattern.
15 16 17 |
# File 'lib/iso8601/errors.rb', line 15 def initialize(pattern) super("Unknown pattern #{pattern}") end |