Skip to content

Commit 15df4e6

Browse files
committed
Merge pull request #345 from ShPakvel/fix_double_amper_process_bad_example
fix 'bad' example for '&&='
2 parents 9f476f3 + 56ea0be commit 15df4e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1311,7 +1311,7 @@ Translations of the guide are available in the following languages:
13111311
end
13121312

13131313
# bad
1314-
something = something ? nil : something.downcase
1314+
something = something ? something.downcase : nil
13151315

13161316
# ok
13171317
something = something.downcase if something

0 commit comments

Comments
 (0)