Range Ruby

(1..3).to_a       # => [1,2,3]
(1..3).entries    # => [1,2,3]