[Nitro] Annotation

George Moschovitis george.moschovitis at gmail.com
Mon Jan 29 09:57:34 EST 2007


It solves the problem:

T.ann!(:self)[:list] ||= []
T.ann!(:self)[:list] << 1

but fyi, this still doesn't work:

T.ann(:self).insert(:list, [])
T.ann!(:self)[:list] << 1

but the first snippet looks better anyway so no big problem...

-g.


On 1/29/07, transfire at gmail.com <transfire at gmail.com> wrote:
>
>
>
> On Jan 29, 8:03 am, "George Moschovitis"
> <george.moschovi... at gmail.com> wrote:
> > and I cannot fix this, tried one thing or two, no success...
>
> first line in #ann! change like so:
>
>     #return heritage(ref) unless keys_or_class or keys
>     return annotations[ref] unless keys_or_class or keys
>
> let me know if there are any problems with that.
>
> T.
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>



-- 
http://blog.gmosx.com
http://cull.gr
http://www.joy.gr
http://nitroproject.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20070129/8f0c75d6/attachment.html 


More information about the Nitro-general mailing list