Skip to content

Commit 4ce71f8

Browse files
committed
Rubocop - Style/SymbolProc
1 parent 8389f70 commit 4ce71f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/appium_lib/ios/helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def id(id)
184184
# @return [Array<Integer>]
185185
def ios_version
186186
ios_version = execute_script 'UIATarget.localTarget().systemVersion()'
187-
ios_version.split('.').map { |e| e.to_i }
187+
ios_version.split('.').map(&:to_i)
188188
end
189189

190190
# Get the element of type class_name at matching index.

0 commit comments

Comments
 (0)