Method: Argy.parse
- Defined in:
- lib/argy.rb
.parse(argv: ARGV, &block) ⇒ Object
Define a parser and return the options in one go.
48 49 50 |
# File 'lib/argy.rb', line 48 def self.parse(argv: ARGV, &block) new(&block).parse(argv) end |