ruby-Chapter6課題2-1