Fix some coding style to ruby style

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