src/ruby_supportlib/phusion_passenger/config/validate_install_command.rb
def summarize
        puts
        if @error_count == 0 && @warning_count == 0
          log "<green>Everything looks good. :-)</green>"
        elsif @error_count == 0
          log "<yellow>Detected 0 error(s), #{@warning_count} warning(s).</yellow>"
        else
          log "<red>Detected #{@error_count} error(s), #{@warning_count} warning(s).</red>"
        end
      end
# Signifies that there is at least 1 error.
Signifies that there is at least 1 error.
Signifies that there is at least 1 error .
def summarize
        puts
        if @error_count == 0 && @warning_count == 0
          log "<green>Everything looks good. :-)</green>"
        elsif @error_count == 0
          log "<yellow>Detected 0 error(s), #{@warning_count} warning(s).</yellow>"
        else
          log "<red>Detected #{@error_count} error(s), #{@warning_count} warning(s).</red>"
        end
      end
def summarize puts if @error_count == 0 && @warning_count == 0 log "<green>Everything looks good. :-)</green>" elsif @error_count == 0 log "<yellow>Detected 0 error(s), #{@warning_count} warning(s).</yellow>" else log "<red>Detected #{@error_count} error(s), #{@warning_count} warning(s).</red>" end end
Signifies that there is at least 1 error.
Signifies that there is at least 1 error .