#530: Net::SSH doesn't work with MacRuby ---------------------------------+------------------------------------------ Reporter: sk8tr1...@… | Owner: lsansone...@… Type: defect | Status: new Priority: critical | Milestone: Component: MacRuby | Keywords: ---------------------------------+------------------------------------------
Comment(by eloy.de.en...@…): I'll try to explain as good as I can. Protected methods may '''only''' be called without send by `self'. To circumvent this you can use #send. However, the MacRuby dispatcher code only checks whether or not the the caller is `self', but does '''not''' skip that guard in case you're using #send. The dispatch code is here: http://github.com/masterkain/macruby/blob/master/dispatcher.cpp#L401 In case you want to fix it easily so you can get on with your project, I'd suggest adding a public method which in turn calls the protected method. Thus eliminating the need for #send. Cheers! -- Ticket URL: <http://www.macruby.org/trac/ticket/530#comment:6> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel