Class: TRMNLP::Commands::Lint

Inherits:
Base
  • Object
show all
Defined in:
lib/trmnlp/commands/lint.rb

Overview

Runs the markup best-practice checks and reports their findings.

Defined Under Namespace

Classes: Options

Instance Method Summary collapse

Methods inherited from Base

#initialize, options_from, run

Constructor Details

This class inherits a constructor from TRMNLP::Commands::Base

Instance Method Details

#callObject



12
13
14
15
16
# File 'lib/trmnlp/commands/lint.rb', line 12

def call
  context.validate!
  report
  issues.empty?
end