KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have the following: array_of_hashes = [{:a=>10, :b=>20}, {:a=>11, :b=>21}, {:a=>13, :b=>23}] How would I go about finding if :a=>11 exists in array_of_hashes array_of_hashes.include? does not seem to work
Tags (comma-separated)
Save Edits
Cancel