class Docopt::Required

Defined in:

docopt.cr

Instance Method Summary

Instance methods inherited from class Docopt::BranchPattern

children : Array(Docopt::Pattern)? children, children=(children) children=, flat(*types) flat, to_s to_s

Constructor methods inherited from class Docopt::BranchPattern

new(children : Array(Pattern)) new

Instance methods inherited from class Docopt::Pattern

==(other : Pattern) : Bool ==, children : Array(Docopt::Pattern)? children, either : Either either, fix : Pattern fix, fix_identities(uniq = nil) : Pattern fix_identities, fix_repeating_arguments : Pattern fix_repeating_arguments, flat(*types) flat, hash hash, inspect(io) inspect, match(left : Array(Pattern), collected : Nil | Array(Pattern) = nil) : Tuple(Bool, Array(Pattern), Array(Pattern)) match

Constructor methods inherited from class Docopt::Pattern

new new

Instance Method Detail

def match(left : Array(Pattern), collected : Nil | Array(Pattern) = nil) : Tuple(Bool, Array(Pattern), Array(Pattern)) #

[View source]