# File lib/eymiha/units/units_hash.rb, line 30 def to_s(numeric = 1,use_abbrevs = false) if size == 1 && (su = select {|k,v| v == 1}).size == 1 && !use_abbrevs su = su.to_a[0][0] ((numeric == 1)? su.name : su.plural).gsub(/_/,' ') else abbrevs_to_s end end