lib/hedgelog/scrub_replacement.rb in hedgelog-0.1.2 vs lib/hedgelog/scrub_replacement.rb in hedgelog-0.1.3

- old
+ new

@@ -15,10 +15,10 @@ end end def scrub_hash(hash) hash.each do |key, val| - next hash[key] = @replacement if key.to_s.downcase == @key.to_s.downcase + next hash[key] = @replacement if key.to_s.casecmp(@key.to_s).zero? scrub_thing(val) end end def scrub_array(array)