From: "Дохая Рыка" Date: 2006-10-17T06:30:12+09:00 Subject: Re: I don't even know what to ask for ����� ���� wrote: >> E:\> ruby TemplateList.rb -v -f TemplateList.txt -m updatevalue.rb > > Try this > > *** Your TemplateList.rb *** > logicFileName='updatevalue.rb' > eval(File.new(logicFileName).read) > testMe('arg1') > > > *** Your updatevalue.rb *** > def testMe(arg) > puts "testMe called arg = #{arg}" > end Or the second way: logicFileName='updatevalue.rb' # self, Module or Class object self.instance_eval(File.new(logicFileName).read) testMe('asd')