examples/shape_all.rb in write_xlsx-1.11.1 vs examples/shape_all.rb in write_xlsx-1.11.2
- old
+ new
@@ -216,10 +216,10 @@
shapes_list.each_line do |line|
line = line.chomp
next unless line =~ /^\w/ # Skip blank lines and comments.
- sheet, name = line.split(/\t/)
+ sheet, name = line.split("\t")
if last_sheet != sheet
worksheet = workbook.add_worksheet(sheet)
row = 2
end
last_sheet = sheet