1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

encourage use of Ruby 1.9 syntax [ci skip]

This commit is contained in:
Francesco Rodriguez 2012-10-25 20:05:14 -05:00
parent cc5dfccdda
commit 65be1a0e7a

View file

@ -205,6 +205,7 @@ TIP: Changes that are cosmetic in nature and do not add anything substantial to
Rails follows a simple set of coding style conventions.
* Use Ruby >= 1.9 syntax. Prefer `{ a: :b }` over `{ :a => :b }`.
* Two spaces, no tabs (for indentation).
* No trailing whitespace. Blank lines should not have any spaces.
* Indent after private/protected.