examples/shape_all.rb in write_xlsx-1.10.0 vs examples/shape_all.rb in write_xlsx-1.10.1
- old
+ new
@@ -223,13 +223,13 @@
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'