From: Howard Fine Date: 2007-08-10T03:30:10+09:00 Subject: Re: Can't get 'require' to work Roger Pack wrote: > Howard Fine wrote: >> None of that worked. >> I think the Poignant Tutorial must have errors in it. I did change >> code_words to $code_words in the main file. That makes sense to me >> because it's a global variable. But now I get the error " undefined >> method `each' for nil:NilClass (NoMethodError)" >> >> I haven't read anything more than that tutorial so I need to get a >> better source. I do have one but liked this one for a quick and dirty >> overview. > > make sure you change it to $code_words in all instances :) Well, there ya' go. Thanks! -- Posted via http://www.ruby-forum.com/.