Class: Object

Inherits:
BasicObject
Defined in:
lib/engine/jruby/jexcel_file.rb

Overview

Copyright

© Autotelik Media Ltd 2011

Author

Tom Statter

Date

Aug 2010

License

MIT

An Excel file helper. Create and populate XSL files

The maximum number of columns and rows in an Excel file is fixed at 256 Columns and 65536 Rows

POI jar location needs to be added to class path.

TODO -  Check out http://poi.apache.org/poi-ruby.html

Instance Method Summary collapse

Instance Method Details

#add_to_classpath(path) ⇒ Object



15
16
17
# File 'lib/engine/jruby/jexcel_file.rb', line 15

def add_to_classpath(path)
  $CLASSPATH << File.join( ArLoader.root_path, 'lib', path.gsub("\\", "/") )
end