# File lib/rest_test.rb, line 84 def error str = nil error_str = " ERROR" if ( str ) error_str += ": " + str end out red( error_str ) @error += 1 out_flush end