class

Cronic::Ordinal

Inherits Cronic::Tag < Reference < Object

Class methods

scan(tokens : Array(Token), ambiguous_year_future_bias : Int32 = 50, **options) : Void

Scan an Array of Token objects and apply any necessary Ordinal tags to each token.

Source

Instance methods

to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source