From: Massimiliano Mirra Date: 2002-10-13T21:22:31+09:00 Subject: Re: Delegating each On Sun, Oct 13, 2002 at 08:14:20AM +0900, Michael Schuerig wrote: > Is there a more direct way of implementing each? Is is possible to get > rid of the each-loop and delegate its behavior to myarray? require 'forwardable' class C extend Forwardable def_delegators(:@myarray, :each) end Massimiliano