Method: ActiveSupport::HashWithIndifferentAccess#except
- Defined in:
- lib/active_support/hash_with_indifferent_access.rb
#except(*keys) ⇒ Object Also known as: without
296 297 298 |
# File 'lib/active_support/hash_with_indifferent_access.rb', line 296 def except(*keys) slice(*self.keys - keys.map { |key| convert_key(key) }) end |