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