関連ワード:  ruby create array from 1 to n  
結果 : ruby create array from 1 to n