mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-27 07:33:57 +00:00
Fixed a typo
This commit is contained in:
parent
a5f04d7e53
commit
1f4fea47fd
@ -413,7 +413,7 @@ end
|
||||
|
||||
# Destructuring
|
||||
|
||||
# Ruby will automatically destrucure arrays on assignment to multiple variables:
|
||||
# Ruby will automatically destructure arrays on assignment to multiple variables:
|
||||
a, b, c = [1, 2, 3]
|
||||
a #=> 1
|
||||
b #=> 2
|
||||
|
Loading…
Reference in New Issue
Block a user