Class: ERBLint::Reporters::CompactReporter
- Inherits:
-
ERBLint::Reporter
- Object
- ERBLint::Reporter
- ERBLint::Reporters::CompactReporter
- Defined in:
- lib/erb_lint/reporters/compact_reporter.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from ERBLint::Reporter
available_format?, available_formats, create_reporter, #initialize
Constructor Details
This class inherits a constructor from ERBLint::Reporter
Instance Method Details
#preview ⇒ Object
6 7 8 |
# File 'lib/erb_lint/reporters/compact_reporter.rb', line 6 def preview puts "#{linting} #{stats.files} files with #{linters}..." end |
#show ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/erb_lint/reporters/compact_reporter.rb', line 10 def show processed_files.each do |filename, offenses| offenses.each do |offense| puts format_offense(filename, offense) end end summary end |