Browse files

Minor style fix

  • Loading branch information...
1 parent 2c9628b commit 088bec79a3f33831e8d6df69de26c15a0bbeab12 Evan Phoenix committed Mar 10, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 kernel/common/hash.rb
View
4 kernel/common/hash.rb
@@ -549,7 +549,7 @@ def reject
hsh = self.class.new
hsh.taint! if self.tainted?
- self.each {|k,v| hsh[k]=v if !yield(k,v) }
+ self.each { |k,v| hsh[k] = v if !yield(k,v) }
hsh
end
@@ -563,7 +563,7 @@ def reject!
change = 0
i = -1
- while (i +=1) < capacity
+ while (i += 1) < capacity
prev_entry = nil
entry = entries[i]
while entry

0 comments on commit 088bec7

Please sign in to comment.