From: Tomas Na Date: 2009-04-05T04:11:30+09:00 Subject: Re: Function as Parameter? Tomas Na wrote: > C:\Users\Tomas\Desktop\Ruby>ruby testapp.rb > c:/ruby/lib/ruby/gems/1.8/gems/fxruby-1.6.12-mswin32/lib/fox16/responder2.rb:55: > in `onHandleMsg': undefined method `call' for :TestCallback:Symbol > (NoMethodErro > r) > from testapp.rb:14:in `run' > from testapp.rb:14 > Sorry, the error is: c:/ruby/lib/ruby/gems/1.8/gems/fxruby-1.6.12-mswin32/lib/fox16/responder2.rb:55: in `onHandleMsg': undefined method `call' for :TestFunc:Symbol (NoMethodError) from testapp.rb:14:in `run' from testapp.rb:14 The top one says :TestCallback because that is what it was called originally but I changed the name when I posted it here to make it a bit clearer, forgot to rerun to get the error with proper function name. -- Posted via http://www.ruby-forum.com/.