From: James Whittaker Date: 2006-03-22T00:04:25+09:00 Subject: Re: Problem with Why's Poignants guide code..help Alder Green wrote: > The guide is cute, but I wouldn't recommend it as an actual tutorial. > Try Chris Pine's tut, or better yet the pickaxe2. > > There are a lot of ways to store structured data in Ruby. The most > common way in real world usage is plaintext mark format, like Yaml. > Google Yaml and read about it (somewhat like XML, only usually nicer > but less powerful). > > The other common way is Marshal: > > http://ruby-doc.org/core/classes/Marshal.html > > which makes sense sometimes. Thanks, consider it canned! Without looking at anything like YAML etc one question: I have variables in one file, load file in to another using "require", then try to access those variables. How is this done in standard ruby progs. I know you can do it in Rails by setting @variable then that is available in the view for example. -- Posted via http://www.ruby-forum.com/.