examples/ignore_errors.rb in write_xlsx-1.09.4 vs examples/ignore_errors.rb in write_xlsx-1.09.5
- old
+ new
@@ -24,10 +24,10 @@
worksheet.write_formula('C6', '=1/0')
# Turn off some of the warnings:
worksheet.ignore_errors(
:number_stored_as_text => 'C3',
- :eval_error => 'C6'
+ :eval_error => 'C6'
)
# Write some descriptions for the cells and make the column wider for clarity.
worksheet.set_column('B:B', 16)
worksheet.write('B2', 'Warning:')