lib/surpass/worksheet.rb in surpass-0.0.6 vs lib/surpass/worksheet.rb in surpass-0.0.7
- old
+ new
@@ -274,10 +274,10 @@
def write(r, c, label = "", style = nil)
if label.is_a?(Array)
if label[0].is_a?(Array)
write_arrays(r, c, label, style || true)
else
- write_array_to_row(label, r, c)
+ write_array_to_row(label, r, c, style || true)
end
else
row(r).write(c, label, style)
end
end