Switched code style to a more usual Ruby style

* Two spaces indentation
* Got rid of two semicolons
* Added a blank line before the return value