[Nitro] Fwd: Troubles along the class-level heirarchy

TRANS transfire at gmail.com
Wed Jun 7 23:13:08 EDT 2006

Oh, one other thing. There is currently no Kernel#ann method. There
are a couple ways in which this could be defined. It could 1)
reference annotations for the object itself (You may not know this but
you can annotate any object via #annotation, not just classes.) or, 2)
route to the object's singleton class, or 3) route to the regular

If #3 then references like 'self.class.ann.foo' can be reduced to
'ann.foo'. But then won't #2 inheirt from the regular class too? If so
that would be better than #3 I think. Although maybe #1 is most
proper? (But not as useful for reducing 'self.class.ann'.)



More information about the Nitro-general mailing list