class FlagParser
- FlagParser
- Reference
- Object
Direct Known Subclasses
Defined in:
flag_parser.crConstructors
Class Method Summary
Instance Method Summary
- #add_rule(rule_name, rule : Regex)
- #add_rule(rule_name, rule : String)
- #banner : Array(String)
- #banner=(string)
- #branch_on(*flags, parser subparser, doc description = nil)
- #branch_on(*flags, parser subparser, doc description = nil, &block : Flag::Callback)
- #help_group(group)
-
#on(*flags, doc description = nil, &block : Flag::Callback)
type spec needed ?
- #parse(args)
-
#to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
Constructor Detail
Class Method Detail
Instance Method Detail
def to_s
#
Description copied from class Object
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
.