Method: Endpointer::ArgumentParser#parse
- Defined in:
- lib/endpointer/argument_parser.rb
#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 |