From: Christian Szegedy Date: 2002-07-01T04:08:52+09:00 Subject: Re: method objects? 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. > Try this: def a puts 'a' end def b puts 'b' end def c [:a,:b].each { |x| send x } end c