Skip to content

Instantly share code, notes, and snippets.

@bussiere
Created August 10, 2010 08:58
Show Gist options
  • Save bussiere/516948 to your computer and use it in GitHub Desktop.
Save bussiere/516948 to your computer and use it in GitHub Desktop.
id1 = ["toto","titi"]
id2 = ["tt","rr"]
liste = ["id1","id2"]
for id in liste
for value in eval(id)
puts value
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment