class Hash
Public Instance Methods
without(*keys)
click to toggle source
Returns a hash excluding the keys passed in.
# File lib/volt/extra_core/hash.rb, line 3 def without(*keys) reject do |key, value| keys.include?(key) end end