Tengo el siguiente:Determinar si existe un valor en una matriz de valores hash
array_of_hashes = [{:a=>10, :b=>20}, {:a=>11, :b=>21}, {:a=>13, :b=>23}]
¿Cómo hago para encontrar si :a=>11
existe en array_of_hashes
array_of_hashes.include?
no parecen funcionar
bonito y sencillo. ¡Gracias! –