Method: EZML::Exec::Generic#parse
- Defined in:
- lib/ezml/exec.rb
#parse ⇒ Object
Parses the command-line arguments and runs the executable. This does not handle exceptions or exit the program.
39 40 41 42 43 44 45 46 |
# File 'lib/ezml/exec.rb', line 39 def parse @opts = OptionParser.new(&method(:set_opts)) @opts.parse!(@args) process_result end |