class ConsoleErrorReporter

Public Class Methods

new() click to toggle source
# File lib/InternalW3cValidation.rb, line 30
def initialize
        @error_count = 0
end

Public Instance Methods

end() click to toggle source
# File lib/InternalW3cValidation.rb, line 39
def end
        puts "-----------------------------------------------"
        puts "There are #{@error_count} W3c Validation Errors"
        puts "-----------------------------------------------"
end
show(error) click to toggle source
# File lib/InternalW3cValidation.rb, line 34
def show(error)
        @error_count += 1
        puts error
end