# File lib/kwala/actions/code_coverage.rb, line 161
  def put_class(percent, amrita_e)
    percent = percent.to_i
    if percent < PERCENT_ERROR
      Amrita.a(:class => "error") {amrita_e}
    elsif percent < PERCENT_WARNING
      Amrita.a(:class => "warning") {amrita_e}
    else
      Amrita.a(:class => "ok") {amrita_e}
    end
  end