Fixed style nits caught by RubyMine.

I did this as its own PR because putting style fixes in substantial PRs makes them harder to review.