Change formatting based on suggestions

I just went through and made some of the formatting changes to fit the [Ruby Style Guide](https://github.com/bbatsov/ruby-style-guide) better based of the suggestions from [PullReview](https://www.pullreview.com/github/24pullrequests/24pullrequests/reviews/master#).