Sha256: 5edc2bb9b1d6f3e76668ff207b1e19a4eb42a4c0c2a22e4abd247af823daace9

Contents?: true

Size: 933 Bytes

Versions: 1

Compression:

Stored size: 933 Bytes

Contents

# load the correct version of win32ole

# Use our modified win32ole library

if RUBY_VERSION =~ /^1\.8/
  $LOAD_PATH.unshift File.expand_path(File.join(File.dirname(__FILE__), '..', 'watir-classic', 'win32ole', '1.8.7'))
elsif RUBY_VERSION =~ /^1\.9/
  $LOAD_PATH.unshift File.expand_path(File.join(File.dirname(__FILE__), '..', 'watir-classic', 'win32ole', '1.9.3'))
elsif RUBY_VERSION =~ /^2\.0/
  $LOAD_PATH.unshift File.expand_path(File.join(File.dirname(__FILE__), '..', 'watir-classic', 'win32ole', '2.0.0'))
elsif RUBY_VERSION =~ /^2\.1/
  $LOAD_PATH.unshift File.expand_path(File.join(File.dirname(__FILE__), '..', 'watir-classic', 'win32ole', '2.1.0'))
elsif RUBY_VERSION =~ /^2\.2/
  $LOAD_PATH.unshift File.expand_path(File.join(File.dirname(__FILE__), '..', 'watir-classic', 'win32ole', '2.2.0'))
else
  # loading win32ole from stdlib
end


require 'win32ole'

WIN32OLE.codepage = WIN32OLE::CP_UTF8

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
watir-classic-4.3.0 lib/watir-classic/win32ole.rb