# File lib/chart-candy/builder/xls_builder.rb, line 28 def add_align_right_formats(formats) align_right = {} formats.each do |k,origin| new_format = origin.dup new_format.horizontal_align = :right align_right["#{k}_right".to_sym] = new_format end formats.merge! align_right end