We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7cf3b0 commit e19e117Copy full SHA for e19e117
README.md
@@ -509,15 +509,15 @@ be happier than the vast majority of other programmers.
509
```ruby
510
# Global variable referenced by following method.
511
# If we had another method that used this name, now it'd be an array and it could break it.
512
-$name = 'Ryan McDermott'
+name = 'Ryan McDermott'
513
514
def split_into_first_and_last_name
515
- $name = $name.split(' ')
+ name = $name.split(' ')
516
end
517
518
split_into_first_and_last_name()
519
520
-puts $name # ['Ryan', 'McDermott']
+puts name # ['Ryan', 'McDermott']
521
```
522
523
**Good:**
0 commit comments