Class: Bovem::Parser
- Inherits:
-
Object
- Object
- Bovem::Parser
- Includes:
- Bovem::ParserMethods::General
- Defined in:
- lib/bovem/parser.rb
Overview
The parser for the command line.
Instance Method Summary (collapse)
-
- (Hash|NilClass) parse(command, args)
Parses a command/application.
Instance Method Details
- (Hash|NilClass) parse(command, args)
Parses a command/application.
101 102 103 104 105 |
# File 'lib/bovem/parser.rb', line 101 def parse(command, args) args = args.ensure_array.dup forms, parser = create_parser(command) perform_parsing(parser, command, args, forms) end |