require 'pluginscan/printer' module Pluginscan class ErrorPrinter < Printer def print(error) print_error_line(error) print_blank_line end private def print_error_line(error) label = "[ERROR]".color(:red) @output.puts "#{label} #{error}" end end end