Make Ruby style consistent throughout the codebase

Includes some small adjustments to Hound/Rubocop config.
Shadowing outer local variable - `c`.<br>Line is too long. [105/99]