Sha256: 345e9c9b3f2a7fa0ff1a467c2a22ddb6d24bff4f7590ef7286eb130d932d567e

Contents?: true

Size: 693 Bytes

Versions: 1

Compression:

Stored size: 693 Bytes

Contents

# encoding: utf-8

require 'java'
require_relative 'jars/jna-4.4.0.jar'
require_relative 'jars/jna-platform-4.4.0.jar'
require_relative 'jars/excelcom-0.0.6.jar'
require_relative 'jruby_excelcom/excel_connection'
require_relative 'jruby_excelcom/workbook'
require_relative '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.2-java lib/jruby_excelcom.rb