Skip to content

Instantly share code, notes, and snippets.

@dbussink
Created December 29, 2009 22:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbussink/265648 to your computer and use it in GitHub Desktop.
Save dbussink/265648 to your computer and use it in GitHub Desktop.
>> h = Hash.new
=> {}
>> i = Hash.new
=> {}
>> {i => 1, h => 2}
=> {{}=>2}
>>
>> test = Struct.new("Test")
=> Struct::Test
>> {test.new => 1, test.new => 2}
=> {#<struct Struct::Test >=>2}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment