From: ara.t.howard@... Date: 2006-07-08T23:20:20+09:00 Subject: Re: About 1.9 #__method__ feature. On Sat, 8 Jul 2006 transfire@gmail.com wrote: > object_id > object_class > object_send > > Then for the all methods that bypass access resitrictions: > > instance_send > instance_eval > instance_exec > instance_variable_get > instance_variable_set > instance_variables > > That way it's consistant, intuitive, easy to use and easy to learn. > > The only exceptions is #instance_of? But that's moot if you ask me b/c > it's safer to ask the class anyway. So preferably we would have > Class#class_of?(obj) plus a word alias for Module#=== like > Module#ancestor_of?(obj). why not simply send send! eval eval! exec exec! etc. i like the idea - but those are long names! ;-) -a -- suffering increases your inner strength. also, the wishing for suffering makes the suffering disappear. - h.h. the 14th dali lama