Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Minor style fix

  • Loading branch information...
commit 088bec79a3f33831e8d6df69de26c15a0bbeab12 1 parent 2c9628b
Evan Phoenix authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 kernel/common/hash.rb
4 kernel/common/hash.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.