Class: LintTrappings::Command::DisplayDocumentation
- Defined in:
- lib/lint_trappings/command/display_documentation.rb
Overview
Displays documentation for the specified linter
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from LintTrappings::Command::Base
Instance Method Details
#run ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/lint_trappings/command/display_documentation.rb', line 6 def run LintTrappings::LinterLoader.new(application, config).load() output.info 'Linter Documentation' output.info '--------------------' linter_classes().sort_by(&:canonical_name).each do |linter_class| display_linter_doc(linter_class) end end |