Re: [Ironruby-core] IronRuby hosting - executing C# method

2012-11-21 Thread Konstantin Kos
Orion Edwards wrote in post #1085558: > ___ > Ironruby-core mailing list > Ironruby-core@rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core ??? -- Posted via http://www.ruby-forum.com/. ___ I

Re: [Ironruby-core] IronRuby hosting - executing C# method

2012-11-20 Thread Orion Edwards
-core] IronRuby hosting - executing C# method Sent by:ironruby-core-boun...@rubyforge.org Hi, I have some issue with hosting IronRuby in C# application. I've created Ruby ScriptEngine, created ScriptScope with delegate in it: > C# > scope.SetVariable("func", new Act

[Ironruby-core] IronRuby hosting - executing C# method

2012-11-20 Thread Konstantin Kos
Hi, I have some issue with hosting IronRuby in C# application. I've created Ruby ScriptEngine, created ScriptScope with delegate in it: > C# > scope.SetVariable("func", new Action(MyMethod)); but can't execute "func" from script > Ruby > func("argument") fails with ArgumentException "wrong numbe