Class: Endpointer::ArgumentParser
- Inherits:
-
Object
- Object
- Endpointer::ArgumentParser
- Defined in:
- lib/endpointer/argument_parser.rb
Instance Method Summary collapse
Instance Method Details
#parse(arguments) ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/endpointer/argument_parser.rb', line 9 def parse(arguments) begin opt_parser.parse(arguments) rescue OptionParser::InvalidOption => e abort "Error: #{e}" end configuration end |