Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Small additions based on what I saw in the forks

  • Loading branch information...
commit 436e8c1bbeb6ffde8bcfbcf72af449c5f8a741f3 1 parent 5cb39d0
Christian Neukirchen authored

Showing 1 changed file with 4 additions and 1 deletion. Show diff stats Hide diff stats

  1. +4 1 RUBY-STYLE
5 RUBY-STYLE
@@ -118,7 +118,8 @@ when you contribute to my code, please follow these rules:
118 118
119 119 * When defining binary operators, name the argument "other".
120 120
121   -* Prefer map over collect, find over detect, find_all over select.
  121 +* Prefer map over collect, find over detect, find_all over select,
  122 + size over length.
122 123
123 124
124 125 == Comments:
@@ -157,6 +158,8 @@ when you contribute to my code, please follow these rules:
157 158
158 159 * Code in a functional way, avoid mutation when it makes sense.
159 160
  161 +* Do not mutate arguments unless that is the purpose of the method.
  162 +
160 163 * Do not mess around in core classes when writing libraries.
161 164
162 165 * Do not program defensively.

0 comments on commit 436e8c1

Please sign in to comment.
Something went wrong with that request. Please try again.