Created
June 30, 2019 10:45
-
-
Save MittalPatel-BTC/52993fdab6ba350ba9ae5d51d73b1ef3 to your computer and use it in GitHub Desktop.
Ways of defining a hash
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
symbolic_hash = {a: 1, b: 2, c: 3} | |
string_hash = {"a" => 1, "b" => 2, "c" => 3} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment