mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-30 10:00:26 +02:00
Fix a bunch of typos
This commit is contained in:
@@ -215,7 +215,7 @@ Range.new(1, 10).class #=> Range(Int32, Int32)
|
||||
# possibly different types.
|
||||
{1, "hello", 'x'}.class #=> Tuple(Int32, String, Char)
|
||||
|
||||
# Acces tuple's value by its index
|
||||
# Access tuple's value by its index
|
||||
tuple = {:key1, :key2}
|
||||
tuple[1] #=> :key2
|
||||
tuple[2] #=> syntax error : Index out of bound
|
||||
|
Reference in New Issue
Block a user