# File lib/compass/commands/project_stats.rb, line 70 def pad(c, max, options = {}) options[:align] ||= :left if c == :- filler = '-' c = '' else filler = ' ' end spaces = max - c.size filled = filler * [spaces,0].max "#{options[:left]}#{filled if options[:align] == :right}#{c}#{filled if options[:align] == :left}#{options[:right]}" end