Method: Inch::CLI::Command::Options::BaseObject#parse
- Defined in:
- lib/inch/cli/command/options/base_object.rb
#parse(args) ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/inch/cli/command/options/base_object.rb', line 8 def parse(args) opts = OptionParser.new opts. = usage descriptions.each do |text| opts.separator ' ' + text end (opts) (opts, args) (opts, args) @object_names = parse_object_names(args) @paths = get_paths(args) end |