Class: Inch::CLI::Command::Options::BaseObject
- Defined in:
- lib/inch/cli/command/options/base_object.rb
Constant Summary
Constants included from YardoptsHelper
YardoptsHelper::VALID_YARD_SWITCHES
Instance Attribute Summary
Attributes included from YardoptsHelper
Instance Method Summary collapse
Methods inherited from Base
Methods included from YardoptsHelper
#parse_yardopts_options, #yardopts_options
Methods included from TraceHelper
Instance Method Details
#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 |
#set_options(opts) ⇒ Object
24 25 26 27 28 |
# File 'lib/inch/cli/command/options/base_object.rb', line 24 def (opts) (opts) (opts) end |