class Mail::IndifferentHash

def key?(key)


hash.key? "key" # => true
hash.key? :key # => true
hash["key"] = "value"
hash = HashWithIndifferentAccess.new

Checks the hash for a key matching the argument passed in:
def key?(key)
  super(convert_key(key))
end