Class: Inch::CLI::Command::Options::Suggest

Inherits:
BaseList show all
Defined in:
lib/inch/cli/command/options/suggest.rb

Instance Attribute Summary

Attributes inherited from Base

#source_parser

Instance Method Summary collapse

Methods inherited from BaseList

#initialize, #prepare_list

Methods inherited from Base

#description, #initialize, #name, run, #usage

Methods included from TraceHelper

#debug, #trace, #trace_header

Constructor Details

This class inherits a constructor from Inch::CLI::Command::BaseList

Instance Method Details

#descriptionsObject



24
25
26
27
28
29
30
31
32
33
34
# File 'lib/inch/cli/command/options/suggest.rb', line 24

def descriptions
  [
    "",
    "Suggests objects and files that can be improved regarding their documentation.",
    "",
    "Example: " + "$ inch suggest lib/**/*.rb --pedantic".cyan,
    "",
    description_grades,
    description_arrows
  ]
end

#set_options(opts) ⇒ Object



16
17
18
19
20
21
22
# File 'lib/inch/cli/command/options/suggest.rb', line 16

def set_options(opts)
  list_options(opts)
  suggest_options(opts)
  common_options(opts)

  yardopts_options(opts)
end