Ruby Fundamentals: Hashes
Hashes are basically like JavaScript objects. They are composed of key/value pairs and each key points to a specific value. For example;
a_hash = { name: "John", age: "20" }
a_hash[:age]
# => "20"
To access data from the hash above, bracket notation ...
muhambiphares.hashnode.dev3 min read