Sha256: 30c9f4b3d0732ea63ddfd50885de0686301de9ba26e5e266f8839fcb24a5dd3a

Contents?: true

Size: 639 Bytes

Versions: 1

Compression:

Stored size: 639 Bytes

Contents

# encoding: utf-8

require 'java'
require 'jars/jna-4.4.0.jar'
require 'jars/jna-platform-4.4.0.jar'
require 'jars/excelcom-0.0.6.jar'
require 'jruby_excelcom/excel_connection'
require 'jruby_excelcom/workbook'
require 'jruby_excelcom/worksheet'

java_import 'excelcom.api.ExcelException'

module JavaExcelcom
  java_import 'excelcom.api.ExcelConnection'
  java_import 'excelcom.util.Util'
  java_import 'excelcom.api.ExcelColor'
end

module ExcelColor
  # derive constants from java enum ExcelColor
  JavaExcelcom::ExcelColor.constants.each{|c| ExcelColor::const_set(c, JavaExcelcom::ExcelColor::const_get(c)) }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jruby_excelcom-0.0.4-java lib/jruby_excelcom.rb