class ERBLint::Reporters::MultilineReporter

Private Instance Methods

format_offense(filename, offense) click to toggle source
# File lib/erb_lint/reporters/multiline_reporter.rb, line 9
      def format_offense(filename, offense)
        <<~EOF

          #{offense.message}#{Rainbow(" (not autocorrected)").red if autocorrect}
          In file: #{filename}:#{offense.line_number}
        EOF
      end