summary refs log tree commit diff
path: root/RUBY-STYLE
diff options
context:
space:
mode:
Diffstat (limited to 'RUBY-STYLE')
-rw-r--r--RUBY-STYLE6
1 files changed, 4 insertions, 2 deletions
diff --git a/RUBY-STYLE b/RUBY-STYLE
index eb10450..82b5a64 100644
--- a/RUBY-STYLE
+++ b/RUBY-STYLE
@@ -12,7 +12,7 @@ when you contribute to my code, please follow these rules:
 
 * Use 2 space indent, no tabs.
 
-* Use Unix-style line endings.
+* Use Unix-style line endings.  On the last line of the file, too.
 
 * Use spaces around operators, after commas, colons and semicolons,
   around { and before }.
@@ -79,6 +79,8 @@ when you contribute to my code, please follow these rules:
 * Use non-OO regexps (they won't make the code better).  Freely use
   =~, $0-9, $~, $` and $' when needed.
 
+* Never use smalltalk: symbols.
+
 
 == Naming:
 
@@ -149,7 +151,7 @@ when you contribute to my code, please follow these rules:
 * Use OptionParser for parsing complex command line options and
   ruby -s for trivial command line options.
 
-* Write for 1.8, but avoid doing things you know that will break in 1.9.
+* Target Ruby 1.9.
 
 * Avoid needless metaprogramming.