-
Hans-Christoph Steiner authored
While it doesn't seem 100% clear what Ruby people use, one thing is clear: this code currently has mixed tab/space indents, which is never a good idea. I did this using: find * -name \*.rb | xargs sed -i 's,\t, ,g' find * -name \*.rb | xargs ruby-beautify --spaces --indent_count 2 --overwrite Some references: http://www.caliban.org/ruby/rubyguide.shtml#indentation https://www.codecademy.com/en/forum_questions/51f0816f631fe9449a001376 https://stackoverflow.com/questions/6741586/rails-coding-standards-why-2-space-indentation https://stackoverflow.com/questions/2678817/2-spaces-or-1-tab-whats-the-standard-for-indentation-in-the-rails-community http://nithinbekal.com/posts/indentation/
89820554