I try to add one image to my workbook/worksheet.
The Code :
wb.add_worksheet(:name => \"Doc1\", :page_setup => setup, :print_options => opt
Here is another way you can achieve this:
Code:
img = File.open(Dir.glob("#{Rails.root}/app/assets/images/result.png, "r")