Re: [Ironruby-core] Problem calling CLR method

2009-01-08 Thread Alex 2k8
Btw, IronPython can call same method: http://farnet.googlecode.com/files/IronPythonFar.1.0.35.rar IronPythonFar\Scripts\calc.py - - - far.RegisterTool(ipy, "IronPython calculator", calc, FarManager.ToolOptions.F11Menus) - - - -- Posted via http://www.ruby-forum.com/. __

Re: [Ironruby-core] Problem calling CLR method

2009-01-08 Thread Alex 2k8
> Could you sent source code for FarNet class (RegisterTool method > declaration)? http://code.google.com/p/farnet/source/browse/trunk/FarNet/FarNetIntf/Far.cs http://code.google.com/p/farnet/source/browse/trunk/FarNet/FarNetPlugin/Far.h http://code.google.com/p/farnet/source/browse/trunk/FarNet/

Re: [Ironruby-core] Problem calling CLR method

2009-01-08 Thread Tomas Matousek
Subject: [Ironruby-core] Problem calling CLR method Hello, I can't call the object's method, thought it exists. My ruby script: - - - - - # Let's dump .Net methods far.get_type.get_methods.each { |m| p m.name } # Try to call 'RegisterTool' method begin far.register_t

[Ironruby-core] Problem calling CLR method

2009-01-07 Thread Alex 2k8
Hello, I can't call the object's method, thought it exists. My ruby script: - - - - - # Let's dump .Net methods far.get_type.get_methods.each { |m| p m.name } # Try to call 'RegisterTool' method begin far.register_tool rescue => err p err end begin far.RegisterTool rescue => err p err