module GorillaPatch::Except
Adding except methods
Public Instance Methods
except(*keys)
click to toggle source
# File lib/gorilla_patch/except.rb, line 7 def except(*keys) dup.except!(*keys) end
except!(*keys)
click to toggle source
# File lib/gorilla_patch/except.rb, line 11 def except!(*keys) keys.each { |key| delete(key) } self end