Object
in lib/core_extensions.rb
non-destructive version
# File lib/core_extensions.rb, line 17 def remove(*keys) self.dup.remove!(*keys) end
pass single or array of keys, which will be removed, returning the remaining hash
# File lib/core_extensions.rb, line 11 def remove!(*keys) keys.each{|key| self.delete(key) } self end
[Validate]
Generated with the Darkfish Rdoc Generator 2.