Beispiel #1
0
 public static void rb_define_global_function(string name, RubyMethodArg2 method) =>
     rb_define_global_function(Encode(name), method, 2);
Beispiel #2
0
 public static void rb_define_method(VALUE klass, string name, RubyMethodArg2 method) =>
     rb_define_method(klass, Encode(name), method, 2);
Beispiel #3
0
 public static void rb_define_method_id(VALUE klass, ID name, RubyMethodArg2 method) =>
     rb_define_method_id(klass, name, method, 2);