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/