class Playbook::PbStatChange::StatChange

def classname

def classname
  generate_classname("pb_stat_change_kit", status)
end

def returned_icon

def returned_icon
  icon || case change
          when "increase"
            "arrow-up"
          when "decrease"
            "arrow-down"
          else
            false
          end
end

def status

def status
  case change
  when "increase"
    "positive"
  when "decrease"
    "negative"
  else
    "neutral"
  end
end