Skip to content

Instantly share code, notes, and snippets.

@hk0i

hk0i/hashes.rb Secret

Created July 5, 2012 17:03
Show Gist options
  • Save hk0i/57e6d17fe733865ee940 to your computer and use it in GitHub Desktop.
Save hk0i/57e6d17fe733865ee940 to your computer and use it in GitHub Desktop.
experimenting with hashes
$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