# File checkcase.rb, line 155 def report( badfiles ) errors = 0 msg = @@USER_MESSAGE badfiles.each do |file,mismatch| msg += sprintf( @@BADFILE_FORMAT, file, mismatch ) errors += 1 break if ( errors >= @max_errors ) end message( msg ) end