```ruby
2.1.0p0 :001 > a = [1, 2, 3, 4, 5, 0]
 => [1, 2, 3, 4, 5, 0]
2.1.0p0 :002 > a.take(3)
 => [1, 2, 3]
2.1.0p0 :003 > a.take(30)
 => [1, 2, 3, 4, 5, 0]
```