💎 Ruby Hashes

Hashes are collections of key-value pairs. They’re like dictionaries or maps in other languages.

Example: Create and Access a Hash

Output will appear here…

Other Hash Operations

💡 Tip: Ruby 1.9+ supports symbol keys too — e.g. {name: "Alex"}