From: Fritz Trapper Date: 2009-12-30T20:42:59+09:00 Subject: How to pass a function as parameter? I want to pass a reference to function as parameter to another function and execute the passed function. Somthing like this: def executer(func) func(1) end def test(x) p x end executer(test) How to write this correctly in ruby? -- Posted via http://www.ruby-forum.com/.