From: nobu.nokada@... Date: 2002-07-01T04:26:45+09:00 Subject: Re: method objects? Hi, At Mon, 1 Jul 2002 03:22:12 +0900, Tyler Spivey wrote: > is it possible to write a function liike: > a=[func1,func2,func3] > a.each do |f| > f() > end > or is that just not possible? if it isn't that's not very good for te project i'm trying to hack up. With Method object: a = [method(:func1), method(:func2), method(:func3)] a.each do |f| f.call() end Sending Symbols: a = [:func1, :func2, :func3] a.each do |f| __send__(f) end -- Nobu Nakada