Skip to content

Instantly share code, notes, and snippets.

@dagobah

dagobah/grab ids Secret

Created October 26, 2012 12: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 dagobah/a6d597e57aead72601c2 to your computer and use it in GitHub Desktop.
Save dagobah/a6d597e57aead72601c2 to your computer and use it in GitHub Desktop.
arr = [
{
"0" => {
"id" => "118"
},
"1" => {
"id" => "119"
},
"2" => {
"id" => "120"
}
},
{
"0" => {
"id" => "121"
}
}
]
#I want:
#[118,119,120,121]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment