[Xotcl] info method behaviour
Kristoffer Lawson
setok@fishpool.com
Sat, 11 Aug 2001 01:00:59 +0300 (EEST)
Situation:
I create a class "C" with instproc "foo".
An object is created from C called "ob".
Problem:
The commands "ob info procs", "ob info args" and "ob info body" do not
work as I would expect them to. In particular, there doesn't seem to be a
way of finding out the body and arguments for the instproc "foo" from the
object. I could do this by asking the class, but I specifically would
like a uniform way to do this, without caring whether the methods are
inherited or not. Is this intended? Why?
% package require XOTcl
0.85
- ---------- = = ---------//--+
| / Kristoffer Lawson | www.fishpool.fi|.com
+-> | setok@fishpool.com | - - --+------
|-- Fishpool Creations Ltd - / |
+-------- = - - - = --------- /~setok/