# File lib/backports/1.9.1/hash.rb, line 26 def rassoc(value) k = key(value) v = fetch(k){return nil} [k, fetch(k)] if k || v == value end