[Xotcl] info method behaviour
Kristoffer Lawson
setok at fishpool.com
Sat Aug 11 23:07:11 CEST 2001
On Sat, 11 Aug 2001, Zoran Vasiljevic wrote:
>
> You can do this pretty easy with:
>
> % [ob info class] info instprocs
>
> ... and similar.
That is what I do, but required me to know that a proc is inherited
from somewhere! I have both types, procs and instprocs (which are both
callable from the object) and I would like to be able to ask information
about them without knowing where they're from.
>
> AFAIK, the "ob info procs|args|body" is ment to be used
> with per-object resources (procs), like for example:
Yes, that what it appears to do, but as such it's limited. I would like
a uniform way of asking information about inherited procs and per-instance
procs. In fact I might even say that to separate those on this level is
confusing the object model.
- ---------- = = ---------//--+
| / Kristoffer Lawson | www.fishpool.fi|.com
+-> | setok at fishpool.com | - - --+------
|-- Fishpool Creations Ltd - / |
+-------- = - - - = --------- /~setok/
More information about the Xotcl
mailing list