class Wgsim::Parser
- Wgsim::Parser
- OptionParser
- Reference
- Object
Defined in:
wgsim/parser.crConstructors
Macro Summary
Instance Method Summary
- #action : Action | Nil
- #help_message : String
- #option : Mutate::Option | Sequence::Option | Generate::Option | Nil
-
#parse(argv = ARGV) : Tuple(Action | Nil, Mutate::Option | Sequence::Option | Generate::Option | Nil)
Parses the passed args (defaults to
ARGV
), running the handlers associated to each option.
Constructor Detail
Macro Detail
Instance Method Detail
def parse(argv = ARGV) : Tuple(Action | Nil, Mutate::Option | Sequence::Option | Generate::Option | Nil)
#
Description copied from class OptionParser
Parses the passed args (defaults to ARGV
), running the handlers associated to each option.