Skip to content

Commit 5f8d6b2

Browse files
committed
add blank line after guard
1 parent 2049fc9 commit 5f8d6b2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ruby/lib/plus_codes/open_location_code.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ def encode_integers(lat_val, lng_val, code_length = PAIR_CODE_LENGTH)
8989
if invalid_length?(code_length)
9090
raise ArgumentError, 'Invalid Open Location Code(Plus+Codes) length'
9191
end
92+
9293
code_length = MAX_CODE_LENGTH if code_length > MAX_CODE_LENGTH
9394
# Initialise the code using an Array. Array.join is more efficient that
9495
# string addition.

0 commit comments

Comments
 (0)