Fix style and whitespaces

https://github.com/bbatsov/ruby-style-guide