Cheers Ehsanul, yeah, they're not tweets - just an easy way to make the
situation understood! But thanks for your help!
Robert - thanks for the 'allocate' tip, that will probably be the way
forward here. However 'id' and 'tweet' are read-only attributes (and I'd
like them to remain that way):
NoMethodError: undefined method `id=' for #<MyTwitter::Item:0x1019bad50>
I think I might play with altering the logic inside .new to
transparently accept id/text as well, seems like the simplest way
forward.
Cheers!
JP
--
Posted via http://www.ruby-forum.com/.