From: Abder-rahman Ali Date: 2010-07-06T04:31:37+09:00 Subject: undefined local variable or method `code_words' for main:Ob I have the problem: undefined local variable or method `code_words' for main:Ob I'm trying to work on an example from the Why's poignant guide to Ruby, and don't know why I'm getting the preceding error. I just made some small changes in the example, and they are not related to the syntax, just the fill outs. The first .rb is "wordlist.erb": http://pastie.org/1031629 The second one, "idea.rb": http://pastie.org/1031631 Provided that the Ruby version I'm using is: ruby 1.8.6 So, any idea how I can workaround this issue? Thanks. -- Posted via http://www.ruby-forum.com/.