class

Cronic::Scalar

Inherits Cronic::Tag < Reference < Object

Constants

DAY_PORTIONS = ["am", "pm", "morning", "afternoon", "evening", "night"] of ::String

Class methods

scan(tokens : Array(Token), hours24 : Bool | Nil = nil, ambiguous_year_future_bias : Int32 = 50, **options) : Void

Scan an Array of Token objects and apply any necessary Scalar 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