mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 01:51:38 +00:00
Fix puts typo
This commit is contained in:
parent
6fce99b0ee
commit
7b4d529c5e
@ -265,7 +265,7 @@ end
|
|||||||
# If you still need and index you can use "each_with_index" and define an index
|
# If you still need and index you can use "each_with_index" and define an index
|
||||||
# variable
|
# variable
|
||||||
array.each_with_index do |element, index|
|
array.each_with_index do |element, index|
|
||||||
pust "#{element} is number #{index} in the array"
|
puts "#{element} is number #{index} in the array"
|
||||||
end
|
end
|
||||||
|
|
||||||
counter = 1
|
counter = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user