# File lib/yell/level.rb, line 130 def to_i @severities.each_with_index { |s,i| return i if s == true } end