From: Eugene Scripnik Date: 2002-02-06T21:44:25+09:00 Subject: Re: eval_wrap Monday, February 04, 2002, 10:17:37 AM, you wrote: >> nnsn> This helps you? >> nnsn> Module.new.module_eval(code) >> I had the same idea but there was something wrong with it, I don't >> remember what exactly. Now it works for me pretty good. Anyway, thank >> you for support. >> >> It seems to me, that this code must replace the current one in >> eruby-run. SM> eruby-run uses load(file, true) because module_eval does not set SM> ruby_wrapper. I don't really understand what is ruby_wrapper... How my code (in *.rhtml) can be affected by this fact? SM> I requested matz to provide a method such as eval_wrap, but I SM> couldn't find an appropriate method name, so the request was SM> rejected:-( SM> Please find a good name, anyone! It makes me smile :)) Is it a big problem??? module_eval_wrapped instance_eval_wrapped eval_wrapped -- Best regards, Eugene [team Enticla] mailto:Eugene.Scripnik@itgrp.net