Skip to content

Instantly share code, notes, and snippets.

@brixen
Last active August 29, 2015 14:13
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 brixen/35ec24d8610cd99d1e9a to your computer and use it in GitHub Desktop.
Save brixen/35ec24d8610cd99d1e9a to your computer and use it in GitHub Desktop.
CLM-bshirai:rubinius bshirai$ ruby -v -r yaml -e 'p YAML.dump({:fu => :bar})'
rubinius 2.4.1 (2.1.0 b332f133 2014-12-04 3.5.0 JI) [x86_64-darwin14.1.0]
"--- \n:fu: :bar\n"
CLM-bshirai:rubinius bshirai$ gem install psych
Fetching: psych-2.0.9.gem (100%)
Building native extensions. This could take a while...
Successfully installed psych-2.0.9
1 gem installed
CLM-bshirai:rubinius bshirai$ ruby -v -r yaml -e 'p YAML.dump({:fu => :bar})'
rubinius 2.4.1 (2.1.0 b332f133 2014-12-04 3.5.0 JI) [x86_64-darwin14.1.0]
"--- !ruby/hash-with-ivars\nelements:\n :fu: :bar\nivars:\n :@entries: !ruby/object:Rubinius::Tuple {}\n :@capacity: 16\n :@max_entries: 12\n :@state: &1 !ruby/object:Hash::State\n compare_by_identity: false\n head: &2 !ruby/object:Hash::Bucket\n key_hash: 3394672376300085656\n value: :bar\n link: \n state: *1\n key: :fu\n tail: *2\n :@size: 1\n :@mask: 15\n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment