From: Richard Mccormack Date: 2010-11-29T03:28:25+09:00 Subject: Re: Loading variables from a file Phillip Gawlowski wrote in post #964503: > On Sun, Nov 28, 2010 at 6:44 PM, Richard Mccormack > wrote: >> Hey everyone, >> It seems that there isn't a way to do this, >> so I was wondering if there was a better way to manage the >> saving/loading. > > Ruby 1.8.x ships with YAML, while Ruby 1.9.x includes JSON. Both > formats allow you to save variables to file, and reload them. > Ah, exactly what I was looking for! Thanks a ton, I can't believe I didn't know about that ^^ Thanks again! :D -Richard -- Posted via http://www.ruby-forum.com/.