Y
Yvon Thoraval
i'm looking for examples of saving to file and reading back an array of
associative array, in a ruby like way.
saying i have something like :
one = {"Name" => "Smith", "Surname" => "John" ...}
two = {"Name" => "Dupont", "Surname" => "Jean" ...}
myFriends = [one, two, ...]
i want to save into a file "myFriends.db" the array of hashes myFriends
in such a way reading it back will recorver the array of hashes the
easiest way...
associative array, in a ruby like way.
saying i have something like :
one = {"Name" => "Smith", "Surname" => "John" ...}
two = {"Name" => "Dupont", "Surname" => "Jean" ...}
myFriends = [one, two, ...]
i want to save into a file "myFriends.db" the array of hashes myFriends
in such a way reading it back will recorver the array of hashes the
easiest way...