From: Massimiliano Mirra Date: 2002-04-03T21:46:55+09:00 Subject: Re: Understanding Python On Wed, Apr 03, 2002 at 05:33:49AM +0900, Dr. David Mertz wrote: > >>> map(just_say, klasses) > AFAIK (which is only a little Ruby), one would do this in Ruby by > iterating over a code block... but the code block would still use a > temporary name to refer to the object whose method is called. Not if you can spend five minutes writing each_send into Enumerable. klasses.each_send(:just_say) Massimiliano