examples/images.rb in writeexcel-1.0.1 vs examples/images.rb in writeexcel-1.0.2
- old
+ new
@@ -19,10 +19,9 @@
workbook = WriteExcel.new("images.xls")
worksheet1 = workbook.add_worksheet('Image 1')
worksheet2 = workbook.add_worksheet('Image 2')
worksheet3 = workbook.add_worksheet('Image 3')
worksheet4 = workbook.add_worksheet('Image 4')
-bp=1
# Insert a basic image
worksheet1.write('A10', "Image inserted into worksheet.")
worksheet1.insert_image('A1',
File.join(File.dirname(File.expand_path(__FILE__)), 'republic.png')