summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-01 01:38:14 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-01 01:38:14 +0000
commit36fa6af2e831e40fe318f1e68b389c83a853521a (patch)
tree8c69729ebfdad8dc0c5f97d51d9eb2dfb14fce81 /doc
parent5235d57b0700c9f67892847d7f8fa055e98ca4d6 (diff)
[DOC] newer codes recommend to use spaces only
[Bug #14246] [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc')
-rw-r--r--doc/contributing.rdoc3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/contributing.rdoc b/doc/contributing.rdoc
index 34039c3ae1..9888f53809 100644
--- a/doc/contributing.rdoc
+++ b/doc/contributing.rdoc
@@ -374,7 +374,8 @@ trunk, or edge Ruby.
Here are some general rules to follow when writing Ruby and C code for CRuby:
-* Indent 4 spaces for C with tabs for eight-space indentation (emacs default)
+* Indent 4 spaces for C without tabs (old codes might use tabs for eight-space indentation,
+ but newer codes recommend to use spaces only)
* Indent 2 space tabs for Ruby
* Do not use TABs in ruby codes
* ANSI C style for 1.9+ for function declarations