[Ironruby-core] Calling a C# static from IronRuby

Alexandre Mutel lists at ruby-forum.com
Fri Nov 13 13:22:34 EST 2009

Hi all,
Is there any way to declare a C# static method accessible from IronRuby
as a regular Ruby method?
public class MyCSharpClass {
 public static string mymethod(string test) {
     return test + "yes";

in ironruby:
puts mymethod("test")
Posted via http://www.ruby-forum.com/.

More information about the Ironruby-core mailing list