Skip to content

Instantly share code, notes, and snippets.

@filp
Created August 26, 2013 09:19
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 filp/6339557 to your computer and use it in GitHub Desktop.
Save filp/6339557 to your computer and use it in GitHub Desktop.
[6] pry(main)> x = { foo: "bar" }
=> {:foo=>"bar"}
[7] pry(main)> Marshal.dump(x)
=> "\x04\b{\x06:\bfooI\"\bbar\x06:\x06ET"
[8] pry(main)>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment