Method: EZML::Exec::Generic#parse

Defined in:
lib/ezml/exec.rb

#parseObject

Parses the command-line arguments and runs the executable. This does not handle exceptions or exit the program.

See Also:



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

  @options
end