Created
June 30, 2019 10:50
-
-
Save MittalPatel-BTC/8af72178b757e79cbcc99a9f2ccfeec7 to your computer and use it in GitHub Desktop.
Fetching hash value and its keys
This file contains hidden or 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
string_hash["a"] # 1 | |
string_hash[:a] # nil | |
string_hash.keys # ["a", "b", "c"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment