Creating empty classes as oneliners

I like to follow the community styleguide in ruby -> Style Guide

Particularly, I like the single-line class definitions rule.

It’s known that this looks terrible. No effort to clean up space:

class FooError < StandardError

Working with others, I see the ‘okish’ one-line version all of the time:

class SomeClass < RuntimeError; end

But I always give a silent nod to anyone that I see using the simpler choice:

FooError = 

Again, this is all from the community style guide -> Style Guide

Want to hire me?