[Nitro] ann problem
transfire at gmail.com
transfire at gmail.com
Mon Jan 29 11:29:15 EST 2007
On Jan 29, 10:30 am, "George Moschovitis"
<george.moschovi... at gmail.com> wrote:
> > T.ann!(:self).insert(:list, [])
> > T.ann(:self, :list) << 1
>
> how should i rewrite this then?
T.ann!(:self).insert(:list, [])
T.ann(:self, :list) << 1
or
T.ann!(:self).insert(:list, [])
T.ann!(:self, :list) << 1
both should work fine.
btw, should I make :self a special key that is equivalent to the
class? eg.
class T
ann(:self) == ann(self)
end
which is the same as saying:
T.ann(:self) == T.ann(T)
t.
More information about the Nitro-general
mailing list