From 84a075ccf4a2ebdf7783a65e1e06264597d22810 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20Emin=20=C4=B0NA=C3=87?= Date: Tue, 2 Sep 2014 10:09:41 +0300 Subject: [PATCH] wrong syntax of ruby on contributing.md fixed --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 966f7da0c1c..f00d5d078e2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -50,7 +50,7 @@ Anyone wishing to contribute to the **[Discourse/Discourse](https://github.com/d * use spaces around operators, after commas, colons, semicolons, around `{` and before `}` * no space after `(`, `[` or before `]`, `)` * use Ruby 1.9 hash syntax: prefer `{ a: 1 }` over `{ :a => 1 }` - * prefer `class << self; def method; end` over `def class.method` for class methods + * prefer `class << self; def method; end` over `def self.method` for class methods * prefer `{ ... }` over `do ... end` for single-line blocks, avoid using `{ ... }` for multi-line blocks * avoid `return` when not required