retrieve only the first two elements in ruby code example
Example: ruby select first n elements from array
array = ['toto','titi','tata','tutu']
array.first(2) # => ['toto', 'titi']
array = ['toto','titi','tata','tutu']
array.first(2) # => ['toto', 'titi']