Cronic::SpanDefinitions
Inherits Cronic::Handlers < Reference < Object
SpanDefinitions subclasses return an Array of NamedTuples containing a match sequence and a Proc that calls a token handler (see handler.cr)
Constructors
Instance methods
maybetime
Shortcut for a time and day-portion
TODO: Actually should be: ormaybe(RepeaterTime, seq(RepeaterTime, RepeaterDayPortion)), but this is not supported by our matching engine.
now
Source