On Fri, Jul 18, 2003 at 11:19:37PM +0900, Jim Cain wrote:
> > enalias for hello= will be excuted as bellow:
> > 
> >     alias_method(('old_hello=').intern, 'hello='.intern)
> >     module_eval <<-EOF
> >        def hello=(arg)
> >           puts 'hola ' + arg
> >           old_hello=(arg)		# just local variable assignment.
> >        end
> >     EOF
> > 
> 
> Of course! Duh. I stared and stared at that one and never saw it from 
> Ruby's point of view. Now I just have to figure out how to make it look 
> like a method call.

     send("old_#{whatever}", arg)

Regards,

Brian.