From: huseyin polat Date: 2006-05-08T20:46:09+09:00 Subject: Re: how to call a class from another file Robert Klemme wrote: > 2006/5/8, huseyin polat : >> >> filename='rlv-ass' # another external file >> qe = QueryEval(filename) >> qe.process_query_results(sorteddocs,1) >> >> ERROR : >> project4.rb:243: undefined method `QueryEval' for # >> (NoMethodError) > > You're problem is almost certainly connected to the fact that there's > no "new" in your code. You probably meant > > qe = QueryEval.new filename > > Kind regards > > robert Robert, that was it, I have forgotten the "new" as you have said.. thank you so much.. thank you/// -- Posted via http://www.ruby-forum.com/.