module Zanzou::WhitelistHashMethods

Constants

NON_DESTRUCTIVE_HASH_METHODS

Public Instance Methods

method_missing(name, *args) click to toggle source
Calls superclass method
# File lib/zanzou/hash.rb, line 18
def method_missing(name, *args)
  if NON_DESTRUCTIVE_METHODS.include?(name)
    handle_non_destructive_method_call(name, args)
  else
    super
  end
end