Rubyfmt is an autoformatter for Ruby that deals with all the layout of your ruby code for you. It’s inspired by gofmt in that it wants to be in your editor’s after save hook, and just run every time you save your file. This means that it should be fast. Currently it seems to run in close to 50ms on even large ruby files. It’s also inspired by standard. Rubyfmt has no configuration options as to how it actually formats your files. Rather, we’re aiming to achieve an output format that follows well established Ruby community norms.

Source: samphippen/rubyfmt

Rubocop is a little too opinionated sometimes so rubyfmt could be a good thing.