Ruby では、( ) でRange を表す。
to_a でArray へ変換する

(0..5).to_a.reverse
#=> [5, 4, 3, 2, 1, 0]

(0..5).to_a.shuffle
#=> [5, 1, 3, 0, 2, 4]