summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-28 12:17:11 (GMT)
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-28 12:17:11 (GMT)
commit8274df3e89dd2830476776f9b2c3f41b64788bfe (patch)
tree924fbec3f912173dec3941ea8b1615f158688868 /doc
parentf1ea832fa0cb2cb8e6f39daea41cdb90517599d7 (diff)
* doc/contributing.rdoc: [DOC] Add coding style heading for patch
rules git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc')
-rw-r--r--doc/contributing.rdoc2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/contributing.rdoc b/doc/contributing.rdoc
index 8690a5c..f63d5fd 100644
--- a/doc/contributing.rdoc
+++ b/doc/contributing.rdoc
@@ -304,6 +304,8 @@ your local computer and won't be part of the official Ruby repository. It will
be used to create patches based on the differences between your branch and
trunk, or edge Ruby.
+=== Coding style
+
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)