[Nitro] Finally coming along...

TRANS transfire at gmail.com
Mon Aug 28 07:24:07 EDT 2006

On 8/28/06, Fang Sun <nusgnaf at gmail.com> wrote:
> Hi, Trans, I am tring to integrate latest facets-1.7.30 with nitro,
> with the latest annotation implementation, the following class level
> Class A
>     ann self, :h => "metadata_h"
> end
> can only be accessed by
> A.ann(A) =>#<Annotation(A#A) #<Annotation:0xb7b9aed0 {:j=>"hoo"}>>
> A.ann.self => #NoMethodError: undefined method `self' for
> #<Annotations:0xb7c1cf48>
> It looks that A.ann.self refers to metadata for explicite annotation like
> ann :self, blahblah
> this break the annotation usage in nitro. would you please bring back
> klass.ann.self as a quick set/get method to class level metadata?

Ah, I was wondering if that worked or not. Okay I'll fix it.

BTW, have you gotten a feel at all for the annotations storing the
name and container? Is that workable or is it problematic?


> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general

( o-
 //    trans.
/ /    transfire at gmail.com

More information about the Nitro-general mailing list