instance method Hash#index

View source on GitHub →

Hash#index(value) → String

Returns the first key in the hash whose value matches value. Returns false if there is no such key.