Beispiel #1
0
 public static void rb_define_global_function(string name, RubyMethodArg5 method) =>
     rb_define_global_function(Encode(name), method, 5);
Beispiel #2
0
 public static void rb_define_singleton_method(VALUE klass, string name, RubyMethodArg5 method) =>
     rb_define_singleton_method(klass, Encode(name), method, 5);
Beispiel #3
0
 public static void rb_define_module_function(VALUE klass, string name, RubyMethodArg5 method) =>
     rb_define_module_function(klass, Encode(name), method, 5);
Beispiel #4
0
 public static void rb_define_method_id(VALUE klass, ID name, RubyMethodArg5 method) =>
     rb_define_method_id(klass, name, method, 5);