Concept Flow - Ruby style guide essentials
Write Ruby code
Use 2 spaces for indentation
Use snake_case for variables and methods
Use CamelCase for classes and modules
Use meaningful names
Avoid trailing whitespace
Use single quotes for strings without interpolation
Keep lines under 80 characters
Write clear comments
Run code with style checks
Refine and improve style
END
This flow shows the main style rules to write clean Ruby code step-by-step.