Method: JsDuck::Warning::Nodoc#doc
- Defined in:
- lib/jsduck/warning/nodoc.rb
#doc ⇒ Object
Extensive documentation for :nodoc warning
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
# File 'lib/jsduck/warning/nodoc.rb', line 55 def doc [ "", " -nodoc(<type>,<visibility>) - Missing documentation", "", " This warning can take parameters with the following values:", "", " <type> = class | member | param", " <visibility> = public | protected | private", "", " So, to report missing documentation of public classes:", "", " --warnings='+nodoc(class,public)'", "", " Or, to report missing docs of all protected items in /etc:", "", " --warnings='+nodoc(,protected):/etc/'", "", ] end |