Sha256: 7d3dd4f22d941644509e1a8dc151ee4bca3c4c11c7587e0af3dc97db35d838ba
Contents?: true
Size: 298 Bytes
Versions: 1
Compression:
Stored size: 298 Bytes
Contents
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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pluginscan-0.9.0 | lib/pluginscan/error_printer.rb |