From: Timothy Hunter Date: 2006-08-24T07:51:01+09:00 Subject: Re: writing objects to files Radu Spineanu wrote: > Hi > > Is it possible to write a ruby object (like a hash for example) to a > file, and then read it and use it accordingly ? > > Thanks, > Radu Spineanu > > You can either use Marshal or yaml. Look up Marshal at http://www.ruby-doc.org/core/ Look up yaml at http://www.ruby-doc.org/stdlib/