class Cronic::Sequence
- Cronic::Sequence
- Reference
- Object
Overview
A matching sequence. The sequence is an Array of class names or Or
/ maybe clauses. Used in conjunction with SeqMatcher
Defined in:
cronic/definition.crConstructors
Class Method Summary
-
.seq(*items)
Factory method to make a Sequence
Instance Method Summary
- #[](arg)
-
#empty?
Returns true if the Sequence is empty
-
#first
Get first element of the sequence
- #items : Array(Cronic::Or | Cronic::Repeater.class) | Array(Cronic::Or | Cronic::Scalar.class) | Array(Cronic::Or | Cronic::Tag.class) | Array(Cronic::OrdinalDay.class) | Array(Cronic::Repeater.class) | Array(Cronic::Separator.class) | Array(Cronic::SeparatorAt.class) | Array(Cronic::Tag.class)
- #rest
Constructor Detail
Class Method Detail
Instance Method Detail
def items : Array(Cronic::Or | Cronic::Repeater.class) | Array(Cronic::Or | Cronic::Scalar.class) | Array(Cronic::Or | Cronic::Tag.class) | Array(Cronic::OrdinalDay.class) | Array(Cronic::Repeater.class) | Array(Cronic::Separator.class) | Array(Cronic::SeparatorAt.class) | Array(Cronic::Tag.class)
#