Fix some coding styles

By using rubocop ( https://github.com/bbatsov/rubocop ), I've fixed some coding styles.

If there something you prefer to my changes, please feel free to tell me.

Next time, I will do not only coding styles issue but other improvements.