lib/write_xlsx/chart/column.rb in write_xlsx-0.72.2 vs lib/write_xlsx/chart/column.rb in write_xlsx-0.72.3.beta1
- old
+ new
@@ -53,10 +53,10 @@
# Write the <c:barDir> element.
#
def write_bar_dir
val = 'col'
- attributes = ['val', val]
+ attributes = [ ['val', val] ]
@writer.empty_tag('c:barDir', attributes)
end
#