Fix some coding styles

coding styleに関しては個人の好き好きですが、

rubyで最もポピュラーな conding style に従ってみました.

Although coding style is a personal matter,

I tried according to most popular conding style in ruby.