From: dohzya Date: 2007-08-07T08:40:51+09:00 Subject: Re: Dynamic method call Le lundi 06 ao�t 2007 � 19:44 +0900, Robert Dober a �crit : > def then &b; b.call end > def else &b; b.call end > sendif 1 < 2, then { p "gagnee"}, else { puts "perdu"} output: "gagneeperdu" (or "perdugagnee") result: nil the 2 arguments are valued BEFORE calling the function... you can't do that without macro or lazy-function -- Etienne Vallette d'Osia