No need to call convert_key before except.

This commit is contained in:
José Valim 2010-06-12 09:48:49 +02:00
parent 50ec0d9b2e
commit 1eecd9483b
1 changed files with 0 additions and 1 deletions

View File

@ -17,7 +17,6 @@ class Hash
# Replaces the hash without the given keys.
def except!(*keys)
keys.map! { |key| convert_key(key) } if respond_to?(:convert_key)
keys.each { |key| delete(key) }
self
end