[Nitro] Annotation

transfire at gmail.com transfire at gmail.com
Sun Jan 28 14:53:07 EST 2007



On Jan 28, 7:12 am, "George Moschovitis" 
<george.moschovi... at gmail.com> wrote:
> On 1/28/07, George Moschovitis <george.moschovi... at gmail.com> wrote:
>
>
>
> > Tom,
>
> > would the folowing code work?
>
> > self.ann!(pk, :class) ||= pkclassof should I use?
>
> self.ann!(pk)[:class] ||= pkclass

well, you'd have to use that later, b/c the former is invalid syntax. 
even so, i tried the later and it doesn't work. i'm not exactly sure 
why though. needs some looking into. let me know if you figure out 
why. and/or i'll have a look at it when i get a chance.

t.



More information about the Nitro-general mailing list