summaryrefslogtreecommitdiff
path: root/doc/contributing.rdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/contributing.rdoc')
-rw-r--r--doc/contributing.rdoc2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/contributing.rdoc b/doc/contributing.rdoc
index 8690a5c59b..f63d5fd34d 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)