From: "Mauricio Fernández" Date: 2003-02-22T06:52:21+09:00 Subject: Re: [ANN] xml-configfile 0.8.0 On Sat, Feb 22, 2003 at 05:42:00AM +0900, Daniel Carrera wrote: > > If you want to serialize objects, YAML4R makes it quick and easy... > > http://yaml4r.sourceforge.net/ > > YAML looks pretty neat. It's simple enough for an introductory tutorial. > I can just teach the student: > > # Save addressbook > File.open("file.yaml", "w").puts address_book.yaml .to_yaml > # Open addressbook > address_book = YAML::load( File.open("file.yaml") ) Marshal does the job if you want to stay in the standard lib. -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com any new sendmail hole I have to fix before going on vacations? -- Seen on #Linux