From: Toby Rodwell Date: 2006-09-25T02:04:07+09:00 Subject: Re: Importing from YAML Jordan Callicoat wrote: ... > > YAML#load (or its synonym #parse) loads object(s) from a YAML string. > Have a look at the docs: http://ruby-doc.org/core/classes/YAML.html Many thanks Jordan. For anyone interested I've just given it a go and the reverse of the above code seems to be quite simply def LoadMyObject myObject = YAML.load_file(self.fileName) end -- Posted via http://www.ruby-forum.com/.