Skip to content

Instantly share code, notes, and snippets.

@fdutey fdutey/gist:66904
Created Feb 19, 2009

Embed
What would you like to do?
h = { "a" => 1, "b" => 2, "c" => 3 }
h.collect #=> [["a", 1], ["b", 2], ["c", 3]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.