Ruby Select First N Elements из массива
array = ['toto','titi','tata','tutu']
array.first(2) # => ['toto', 'titi']
Lioruby
array = ['toto','titi','tata','tutu']
array.first(2) # => ['toto', 'titi']