I know only one way:

call_fncs( Proc.new { my_fnc1 }, Proc.new { my_fnc2 } )


and in call_fncs:

function1.call
function2.call



But then I can just use a block and pass as first param a flag which 
indicates which function should be called. This would be not so clean, 
but I could avoid the two block inside the parameter list and have one 
after the function call.





Turing
-- 
Posted via http://www.ruby-forum.com/.