結果 : ruby take first n elements of array