class Cronic::Or
- Cronic::Or
- Reference
- Object
Overview
Holds either an Or / maybe clause for use with matching. If the maybe flag is set, then none of the items are required to match.
Defined in:
cronic/definition.crConstructors
Class Method Summary
-
.maybe(*items)
Factory method to make an Or/Maybe from one..N args
-
.or(*items)
Factory method to make an Or from one..N args
Instance Method Summary
- #items : Array(Cronic::Grabber.class) | Array(Cronic::Or | Cronic::Repeater.class) | Array(Cronic::Or | Cronic::RepeaterTime.class) | Array(Cronic::Or | Cronic::Scalar.class) | Array(Cronic::Or | Cronic::Tag.class) | Array(Cronic::Repeater.class) | Array(Cronic::RepeaterDayPortion.class) | Array(Cronic::RepeaterTime.class) | Array(Cronic::Scalar.class) | Array(Cronic::Separator.class) | Array(Cronic::SeparatorAnd.class) | Array(Cronic::SeparatorAt.class) | Array(Cronic::SeparatorDash.class) | Array(Cronic::SeparatorOn.class) | Array(Cronic::SeparatorSlash.class) | Array(Cronic::Tag.class) | Array(Cronic::TimeZone.class)
- #maybe? : Bool
Constructor Detail
Class Method Detail
Instance Method Detail
def items : Array(Cronic::Grabber.class) | Array(Cronic::Or | Cronic::Repeater.class) | Array(Cronic::Or | Cronic::RepeaterTime.class) | Array(Cronic::Or | Cronic::Scalar.class) | Array(Cronic::Or | Cronic::Tag.class) | Array(Cronic::Repeater.class) | Array(Cronic::RepeaterDayPortion.class) | Array(Cronic::RepeaterTime.class) | Array(Cronic::Scalar.class) | Array(Cronic::Separator.class) | Array(Cronic::SeparatorAnd.class) | Array(Cronic::SeparatorAt.class) | Array(Cronic::SeparatorDash.class) | Array(Cronic::SeparatorOn.class) | Array(Cronic::SeparatorSlash.class) | Array(Cronic::Tag.class) | Array(Cronic::TimeZone.class)
#