Skip to content

Commit 5574e8c

Browse files
committed
Fix variable name
1 parent a80af61 commit 5574e8c

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
@@ -2885,7 +2885,7 @@ condition](#safe-assignment-in-condition).
28852885
```Ruby
28862886
# bad
28872887
email = data['email']
2888-
nickname = data['nickname']
2888+
username = data['nickname']
28892889

28902890
# good
28912891
email, username = data.values_at('email', 'nickname')

0 commit comments

Comments
 (0)