lib/watir-classic/win32ole.rb in watir-classic-4.2.0 vs lib/watir-classic/win32ole.rb in watir-classic-4.3.0
- old
+ new
@@ -6,9 +6,13 @@
$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