class Cronic::Ordinal
- Cronic::Ordinal
- Cronic::Tag
- Reference
- Object
Defined in:
cronic/tags/ordinal.crClass Method Summary
-
.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.
Instance Method Summary
-
#to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
Instance methods inherited from class Cronic::Tag
start=(time : Time)
start=,
type : Int32 | String | Symbol
type,
type=(type : Int32 | String | Symbol)
type=,
width : Int32?
width,
width=(width : Int32 | Nil)
width=
Constructor methods inherited from class Cronic::Tag
new(type : TagType, width : Int32 | Nil = nil, **options)
new
Class methods inherited from class Cronic::Tag
scan(tokens, **options)
scan
Class Method Detail
Scan an Array of Token objects and apply any necessary Ordinal tags to each token.
Instance Method Detail
def to_s
#
Description copied from class Object
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
.