mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-08 15:56:47 +02:00
Fixed a typo
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user