Hashのこんな使い方 ref: http://qiita.com/items/01f923c137bb8b2aa7f7