-
-
Save hk0i/57e6d17fe733865ee940 to your computer and use it in GitHub Desktop.
experimenting with hashes
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
$test_config = { | |
:default => :site, | |
:site => { | |
:apple => 'banana', | |
:orange => 'kiwi' | |
} | |
} | |
puts $test_config[:site] | |
puts $test_config[:default] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment