line length violations
Space missing after comma
indentation
Prefer single-quoted strings

when you don't need string interpolation or special symbols  such as
\t, \n, ', etc.
Indent when as deep as case
Unused method argument
Use alias_method instead of alias
Avoid single-line method definitions
Use fail instead of raise to signal exceptions

Redundant RuntimeError argument can be removed
Prefer find over detect