From: Philipp Huber Date: 2005-09-01T16:46:03+09:00 Subject: implementing the "each" method for own classes hello! first of all, i'm new to ruby and this list. my question is, i have a class "Queue" which implements a queue as linked list of "Item" objects. i'd like to implement an each method, so i can do something like queue.each do |item| item.do_somethng end any help would be appreciated! thanks, philipp