# File lib/mutter/table.rb, line 69 def process str, length = nil, align = :left, style = [] length ||= str.length if str.length > length str[0...(length - @options[:truncater].length)] + @options[:truncater] else s = [Mutter.new.clear.process(str, style), ' ' * (length - str.length)] s.reverse! if align == :right s.join end end