Introduction
Good style helps your code stay neat and easy to read. It makes working with others simpler and avoids confusion.
When writing Ruby code that others will read or maintain
When working on a team project to keep code consistent
When learning Ruby to build good habits early
When preparing code for sharing or publishing
When debugging to quickly understand what the code does