Range Ruby

p (1..5).take(3)       # => [1,2,3]