提交 70b05983 编写于 作者: X Xavier Noria

Merge pull request #4685 from brainopia/fix_contribute_guide

Fix contributing guide to reflect preferred position on indentation
......@@ -309,7 +309,7 @@ Rails follows a simple set of coding style conventions.
* Two spaces, no tabs.
* No trailing whitespace. Blank lines should not have any space.
* Indent after private/protected.
* Do not indent after private/protected. Private/protected should have the same indentation as the methods around.
* Prefer +&&+/+||+ over +and+/+or+.
* Prefer class << self block over self.method for class methods.
* +MyClass.my_method(my_arg)+ not +my_method( my_arg )+ or +my_method my_arg+.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册