DEV Community

Discussion on: Ruby 3.1 – Shorthand Hash Syntax – First Impressions

vgoff profile image
Victor Goff

Even further than that, it is not only symbol and string as keys, but anything that responds to hash can be used as a key.