From: Andrew Walrond Date: 2005-04-23T19:17:40+09:00 Subject: Suggestion: Hash.remove Something I often find useful is a version of Hash.delete which returns the hash rather than the deleted item. Useful for terse chained code. class Hash def remove!(*some_keys) some_keys.each { |key| delete(key) } return self end def remove(*some_keys) return dup.remove!(*some_keys) end end Perhaps something like it is already planned for the next version? If not, perhaps the Hash maintainer might consider something like it. Andrew Walrond