# File lib/kwala/actions/unit_test.rb, line 286 def template_timing_error_num(num_str) if num_str.to_f >= @time_error_threshold a(:bgcolor => "red") { num_str } elsif num_str.to_f >= @time_warning_threshold a(:bgcolor => "yellow") { num_str } else num_str end end