Created
August 10, 2010 08:58
-
-
Save bussiere/516948 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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