On Wed, 7 Dec 2005, Gene Tani wrote: >> yeah - it's quite strange. unfortunately the 'send' approach won't work >> because the actual usage is something like >> > > Anyway, i think the 'send' of private methods is / will be changed in 1.9 so > you can't do it anymore. Don't know about the other access control > runaround, where you can subclass a class with private meths and declare > them public (p 393 of pickax), if that will/is changed in 1.9 doesn't look like it.... harp:~ > ruby -e' p RUBY_VERSION; Class::new{ private; def meth() p 42 end }::new.instance_eval{ meth } ' "1.9.0" 42 -a -- =============================================================================== | ara [dot] t [dot] howard [at] noaa [dot] gov | all happiness comes from the desire for others to be happy. all misery | comes from the desire for oneself to be happy. | -- bodhicaryavatara ===============================================================================