Skip to content

Commit 84a075c

Browse files
committed
wrong syntax of ruby on contributing.md fixed
1 parent c984cf0 commit 84a075c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Anyone wishing to contribute to the **[Discourse/Discourse](https://github.com/d
5050
* use spaces around operators, after commas, colons, semicolons, around `{` and before `}`
5151
* no space after `(`, `[` or before `]`, `)`
5252
* use Ruby 1.9 hash syntax: prefer `{ a: 1 }` over `{ :a => 1 }`
53-
* prefer `class << self; def method; end` over `def class.method` for class methods
53+
* prefer `class << self; def method; end` over `def self.method` for class methods
5454
* prefer `{ ... }` over `do ... end` for single-line blocks, avoid using `{ ... }` for multi-line blocks
5555
* avoid `return` when not required
5656

0 commit comments

Comments
 (0)