From e60de37b478d3f892f6985a58d573016f33f0269 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sun, 17 Feb 2013 17:16:33 +0100 Subject: Update for 1.9 --- RUBY-STYLE | 6 ++++-- 1 file 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. -- cgit 1.4.1