From: Johannes Ahl-mann Date: 2005-02-17T02:09:50+09:00 Subject: Re: restricted evaluation > is there an easy way to restrict evaluation of code to certain > methods/classes only?? just came up with an example! for example i might want to prevent users of the DSL to "catch" exceptions by themselves... for example: > begin > dsl_data { > field1 :broken > } > rescue > nil > end this might "hide" syntax problems of the DSL and would not make much sense if the DSL was used solely for data entry. therefore i might want to disallow use of "rescue"... Johannes