Thank you, cryptic name I cannot repeat. "eval" works like a champ. My future has been greatly simplified. dvn §¥§à§ç§Ñ§ñ §²§í§Ü§Ñ wrote: > 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')