Skip to content

Commit 1a1d615

Browse files
committed
explaining what to_a does in general and what it does with respect to the tutorial
1 parent bb6d353 commit 1a1d615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/lesson2/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ To get all the numbers from 1 up to 5, excluding 5.
4545
(1...5).to_a
4646
```
4747

48-
> `to_a` converts a range to an array
48+
> `to_a` returns an array representation of an object. In the above case, it converts a range to an array
4949
5050
### `Random.rand()`
5151

0 commit comments

Comments
 (0)