Thanks for your answer, Eduardo.
I've done it as you adviced:
hashString = ModuleClass.GetObjectHash(testObject).to_s.to_clr_string
# in IronRuby code
and tried to call it in C#:
string netString;
engine.ExecuteFile(path).TryGetVariable("hashString", out netString);
Console.WriteLine(netString);
Well, there are no mistakes in compiling Ruby code, but the netString is
null after executing the ruby file.
I guess that the hashString after executing just seems to be empty. Is
it something wrong with calling it in C# or is it just expected to be
so?
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core