I have an array of hashes, @fathers.
a_father = { \"father\" => \"Bob\", \"age\" => 40 }
@fathers << a_father
a_father = { \"father\" => \"Da
You're looking for Enumerable#select (also called find_all):
@fathers.select {|father| father["age"] > 35 }
# => [ { "age" => 40, "father" => "Bob" },
# { "age" => 50, "father" => "Batman" } ]
Per the documentation, it "returns an array containing all elements of [the enumerable, in this case @fathers] for which block is not false."