Robert

The TodoItem class is as attached.


I'm a complete novice, so I'm not sure how structures are used in Ruby - 
I had tried a simple case of '..build record...put in array' in another 
example where I built a local record and appended that to a local array, 
and then I accessed the array fields by a simple array[n].field1. So I 
stupidly assumed that the similar '@list << item_rec' would append the 
structure of item_rec in the list array.

Attachments:
http://www.ruby-forum.com/attachment/7888/TodoItem.rb


-- 
Posted via http://www.ruby-forum.com/.