Ruby style guide adherence

The formula has been run through `rubocop`, which checks for adherence
to the Ruby Style Guide. There are just two warnings remaining: the URL
line is too long (which I'm ignoring) and that I should have top-level
documentation (but other Homebrew formulae don't, normally).