splat 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/splat.rb +3 -3
- metadata +1 -1
data/lib/splat.rb
CHANGED
|
@@ -8,7 +8,7 @@ class Splat
|
|
|
8
8
|
begin
|
|
9
9
|
require 'splat/win32_clipboard'
|
|
10
10
|
@clipboard = Splat::Win32Clipboard.new
|
|
11
|
-
rescue
|
|
11
|
+
rescue Exception
|
|
12
12
|
puts 'for clipboard with splat on windows:'
|
|
13
13
|
puts ' * gem install win32-clipboard'
|
|
14
14
|
end
|
|
@@ -17,7 +17,7 @@ class Splat
|
|
|
17
17
|
begin
|
|
18
18
|
require 'watir'
|
|
19
19
|
@browser_class = Watir::IE
|
|
20
|
-
rescue
|
|
20
|
+
rescue Exception
|
|
21
21
|
puts 'for browser automation with splat on windows'
|
|
22
22
|
puts ' * gem install watir'
|
|
23
23
|
end
|
|
@@ -30,7 +30,7 @@ class Splat
|
|
|
30
30
|
begin
|
|
31
31
|
require 'safariwatir'
|
|
32
32
|
@browser_class = Watir::Safari
|
|
33
|
-
rescue
|
|
33
|
+
rescue Exception
|
|
34
34
|
puts 'for browser automation with splat on mac os x:'
|
|
35
35
|
puts ' * gem install safariwatir'
|
|
36
36
|
puts ' * gem install rb-appscript'
|