William Djaja Tjokroaminata (billtj / y.glue.umd.edu) wrote: [...] > def func1 (arg1, &arg2) > .... > end > > def func2 (arg1, &arg2) func1(arg1, &arg2) > end > > Can we pass the block from func2 to func1? If yes, how? (It seems there > is no way to convert back from a Proc object to a block.) Make it the last argument, and prefix it with "&" as above. Another example (it has needless overhead in creating a Proc object only to discard it, but illustrates the point): 10.times &proc{|x| p x} Hope this helps. Reimer Behrends