examples/sprk2012/basics.rb in axlsx-1.2.3 vs examples/sprk2012/basics.rb in axlsx-1.3.1
- old
+ new
@@ -1,4 +1,5 @@
+$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../../lib"
require 'axlsx'
package = Axlsx::Package.new
package.workbook.add_worksheet(:name => "Basic Worksheet") do |sheet|
sheet.add_row ["First Column", "Second", "Third"]