class

Cronic::Or

Inherits Reference < Object

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.

Constructors

new(items : OrSeqType, maybe : Bool = false)
Source

Class methods

maybe(*items)

Factory method to make an Or/Maybe from one..N args

Source
or(*items)

Factory method to make an Or from one..N args

Source

Instance methods

items
Source
maybe?
Source