Skip to content

Commit 2ef736a

Browse files
committed
follow method reference
1 parent f5e0731 commit 2ef736a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/appium_lib_core/device.rb

+1-3
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@ def extended(_mod)
4040
:stop_recording_screen, :stop_and_save_recording_screen,
4141
:shake, :device_time,
4242
:touch_actions, :multi_touch
43-
].each do |key|
44-
delegate_from_appium_driver key
45-
end
43+
].each(&method(:delegate_from_appium_driver))
4644
end
4745

4846
# def extended

0 commit comments

Comments
 (0)