Created
March 24, 2015 18:36
-
-
Save eric-wood/1624e1fb3b08947a568a to your computer and use it in GitHub Desktop.
HashWithIndifferentAccess
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class HashWithIndifferentAccess < Hash | |
def [](_) | |
'meh' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
: