Skip to content

Commit b57772c

Browse files
Fix comments
1 parent 49e97e6 commit b57772c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lib/appium_lib/driver.rb

+3-4
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,10 @@ def self.promote_appium_methods class_array
139139
# Prefer existing method.
140140
# super will invoke method missing on driver
141141
super(*args, &block)
142-
# minitest also defines a name method,
143-
# so rescue argument error
144-
# and call the name method on $driver
142+
# minitest also defines a name method,
143+
# so rescue argument error
144+
# and call the name method on $driver
145145
rescue NoMethodError, ArgumentError
146-
# puts "[Object.class_eval] '#{m}' not on super"
147146
$driver.send m, *args, &block if $driver.respond_to?(m)
148147
end
149148
end

0 commit comments

Comments
 (0)