FlagParser
Inherits Reference < Object
Constructors
new
SourceClass methods
parse(args, &)
SourceInstance methods
add_rule(rule_name, rule : Regex)
Sourceadd_rule(rule_name, rule : String)
Sourcebanner
Sourcebanner=(string)
Sourcebranch_on(*flags, parser subparser, doc description = nil)
Sourcebranch_on(*flags, parser subparser, doc description = nil, &block : Flag::Callback)
Sourcehelp_group(group)
Sourceparse(args)
Sourceto_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO) which can be overridden for custom implementations.
Also see #inspect.