Reformat all Ruby code

Adhere to RubyMine conventions from now on. In particular, the private
method should not increase indentations of subsequent statements.

[#56856706]
Merge 56856706-reformat-ruby-code to master

[Completes #56856706]