# File lib/compass/commands/project_stats.rb, line 73 def pad(c, max, options = {}) options[:align] ||= :left if c == :- filler = '-' c = '' else filler = ' ' end c = send("format_#{options[:formatter]}""format_#{options[:formatter]}", c) if options[:formatter] 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