Sha256: 0cf3a013ab7fc9fd309b27ef66e8310baefafd18956ea9087efd280f31df9a68

Contents?: true

Size: 635 Bytes

Versions: 6

Compression:

Stored size: 635 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'))
else
  # loading win32ole from stdlib
end


require 'win32ole'

WIN32OLE.codepage = WIN32OLE::CP_UTF8

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
watir-classic-4.2.0 lib/watir-classic/win32ole.rb
watir-classic-4.1.0 lib/watir-classic/win32ole.rb
watir-classic-4.0.1 lib/watir-classic/win32ole.rb
watir-classic-4.0.0 lib/watir-classic/win32ole.rb
watir-classic-3.7.0 lib/watir-classic/win32ole.rb
watir-classic-3.6.0 lib/watir-classic/win32ole.rb