examples/shape3.rb in write_xlsx-0.64.1 vs examples/shape3.rb in write_xlsx-0.65.0
- old
+ new
@@ -23,10 +23,10 @@
:width => 100,
:height => 100
)
worksheet.insert_shape('A1', normal, 50, 50)
-normal[:text] = 'Scaled 3w x 2h'
-normal[:name] = 'Hope'
+normal.text = 'Scaled 3w x 2h'
+normal.name = 'Hope'
worksheet.insert_shape('A1', normal, 250, 50, 3, 2)
workbook.close