SyntaxFix
Write A Post
Hire A Developer
Questions
You could use hashname.key(valuename)
Or, an inversion may be in order. new_hash = hashname.invert will give you a new_hash that lets you do things more traditionally.
new_hash = hashname.invert
new_hash