[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Catching a missing method call?
From: |
Mondragon, Ian |
Subject: |
RE: Catching a missing method call? |
Date: |
Fri, 27 Jul 2001 11:45:00 -0500 |
what exactly does the "missing" method do in ruby? (speaking of which, why
are people going so nuts over a python-ified perl? :-)
you might find the answer your looking for in the "forward" method.
- ian
> -----Original Message-----
> From: Laurent Julliard [SMTP:Laurent.Julliard@xrce.xerox.com]
> Sent: Friday, July 27, 2001 11:37 AM
> To: GNUstep, Discussions
> Subject: Catching a missing method call?
>
> Is there a way to catch a missing method call for a given Class in
> GNUStep/Objective C? I'm thinking of something like the "missing" method
> in the ruby language. The simple fact of declaring the method called
> "missing" in a class has the effect of redirecting all unknown method
> calls to it.
>
> If there isn't such a mechanism any idea on how to mimic it is welcome.
>
> Laurent
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> http://mail.gnu.org/mailman/listinfo/discuss-gnustep