class HamlLint::Reporter::DefaultReporter
Outputs lints in a simple format with the filename, line number, and lint message.
Public Instance Methods
added_lint(lint, report)
click to toggle source
# File lib/haml_lint/reporter/default_reporter.rb, line 10 def added_lint(lint, report) print_lint(lint) if lint.severity >= report.fail_level end
display_report(report)
click to toggle source
# File lib/haml_lint/reporter/default_reporter.rb, line 14 def display_report(report) print_summary(report) end