Skip to content

Commit 5779588

Browse files
committed
Update guideline to be more expressive
1 parent 0f2f4d0 commit 5779588

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

style/ruby/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ Ruby
1111
* Avoid explicit return statements.
1212
* Avoid using semicolons.
1313
* Avoid bang (!) method names. Prefer descriptive names.
14-
* Avoid `class A::B`, [Example][class definition example]
14+
* Avoid defining classes and modules using shorthand nesting (class A::B)
15+
[Example][class definition example]
1516
* Don't use `self` explicitly anywhere except class methods (`def self.method`)
1617
and assignments (`self.attribute =`).
1718
* Prefer `detect` over `find`.

0 commit comments

Comments
 (0)