Flowdock
method

key?

Importance_1
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: ActiveSupport::HashWithIndifferentAccess
key?(key) public

Checks the hash for a key matching the argument passed in:

hash = ActiveSupport::HashWithIndifferentAccess.new
hash['key'] = 'value'
hash.key?(:key)  # => true
hash.key?('key') # => true
Show source
Register or log in to add new notes.