Rubyで間違いやすい配列の範囲指定 ref: http://qiita.com/items/7f9737a191bb92cca81d