Sha256: 2461f4b4f48956f47b6c88046d4ee37dd3174d9d59537f148370f5145d50985a
Contents?: true
Size: 1.22 KB
Versions: 1
Compression:
Stored size: 1.22 KB
Contents
require 'java' # Set location so the loader can find the native dll it needs arch = ENV_JAVA['sun.arch.data.model'] == '32' ? 'x86' : 'x64' java.lang.System.set_property 'racob.dll.path', File.dirname(__FILE__) + "/racob-#{arch}.dll" require 'racob.jar' require 'win32ole/win32ole' # <- java native impl of WIN32OLE require 'win32ole/win32ole_ruby' # <- ruby impl of WIN32OLE java_import java.util.Calendar java_import org.racob.com.Variant java_import org.racob.com.Automation java_import org.racob.com.ComFailException java_import org.racob.com.ComThread java_import org.racob.com.Dispatch java_import org.racob.com.DispatchEvents java_import org.racob.com.EnumVariant java_import org.racob.com.FuncDesc java_import org.racob.com.TypeInfo java_import org.racob.com.TypeLib java_import org.racob.com.VarDesc java_import org.racob.com.VariantUtilities java_import org.jruby.ext.win32ole.RubyWIN32OLE java_import org.jruby.ext.win32ole.RubyInvocationProxy require 'win32ole/win32ole_error' require 'win32ole/win32ole_method' require 'win32ole/win32ole_variant' require 'win32ole/win32ole_variable' require 'win32ole/win32ole_event' require 'win32ole/win32ole_param' require 'win32ole/win32ole_type' require 'win32ole/win32ole_typelib'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jruby-win32ole-0.8.0 | lib/jruby-win32ole.rb |