From: Roger Pack Date: 2007-08-10T03:02:05+09:00 Subject: Re: Can't get 'require' to work 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 :) -- Posted via http://www.ruby-forum.com/.