Merge pull request #164 from kytrinyx/adjust-font-size

Split up the font size calculation
This commit is contained in:
Matt Rogers 2013-03-02 05:40:38 -08:00
commit 004339a2ca
4 changed files with 12 additions and 7 deletions

View file

@ -13,8 +13,8 @@ module Stats
tags.empty?
end
def font_size(tag)
(9 + 2*(tag.count-min)/divisor)
def relative_size(tag)
(tag.count - min) / divisor
end
private