lib/pagespeed/parser.rb
# pad the score to make it extra readable
pad the score to make it extra readable
pad the score to make it extra readable
def pad_score(score)
        score = score.to_s
        case score.length
        when 3
          score
        when 2
          ' ' + score
        when 1
          '  ' + score
        end
      end
def pad_score ( score ) score = score . to_s case score . length when 3 score when 2 ' ' + score when 1 '  ' + score end end
pad the score to make it extra readable
pad the score to make it extra readable
score
<not_specific>