examples/shape_all.rb in write_xlsx-1.09.4 vs examples/shape_all.rb in write_xlsx-1.09.5
- old
+ new
@@ -223,18 +223,18 @@
worksheet = workbook.add_worksheet(sheet)
row = 2
end
last_sheet = sheet
shape = workbook.add_shape(
- :type => name,
- :text => name,
- :width => 90,
- :height => 90
- )
+ :type => name,
+ :text => name,
+ :width => 90,
+ :height => 90
+ )
# Connectors can not have labels, so write the connector name in the cell
# to the left.
- worksheet.write(row, 0, name ) if sheet == 'Connector'
+ worksheet.write(row, 0, name) if sheet == 'Connector'
worksheet.insert_shape(row, 2, shape, 0, 0)
row += 5
end
workbook.close