internal static object alias_method(RBasic r, params object[] args) { NetRuby rb = r.ruby; ((RMetaObject)r).DefineAlias(rb.ToID(args[0]), rb.ToID(args[1])); return(r); }
public virtual bool RespondTo(object[] argv) { object[] args = new object[2]; ruby.ScanArgs(argv, "11", args); uint id = ruby.ToID(args[0]); return(RespondTo(id, !RTest(args[1]))); }