-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 01 Jul 2002 06:22, 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.

If those 3 methods are to be executed in order, then they sound pretty related 
to each. Perhaps they belong better in a class? Anyhow, what you want to do 
is possible because methods are objects, make sure you call() the method you 
want to run.

Hope this helps somewhat.

- -- 
Signed,
Holden Glova
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9H/ot0X8w8X71zPcRAsb4AJwNfFThfntBaD69euP5xuPsK+SZ/gCeMaEi
Lk3APS3QcHhtm6MC9HA6/ig=
=8EAC
-----END PGP SIGNATURE-----