Interesting! I've never seen this syntax before. It's more common to call .to_a on the range to turn it into an array. Like this:

numbers = (1..10).to_a