Tj Superfly wrote: > Hello! > > I've created a program that will run and update the array storing the > information within that program. When the program is over, I would like > the file to save, so th next time I run it, the same information is in > the array old_array = [1,2,3,4] File.open("array.yaml","w") do |out| out << old_array.to_yaml end new_array = YAML.load(File.open("array.yaml")) puts new_array.inspect -- Posted via http://www.ruby-forum.com/.