結果 : ruby first n elements of array