rb_define_singleton_method 3785 array.c rb_define_singleton_method(rb_cArray, "[]", rb_ary_s_create, -1); rb_define_singleton_method 3786 array.c rb_define_singleton_method(rb_cArray, "try_convert", rb_ary_s_try_convert, 1); rb_define_singleton_method 897 class.c rb_define_singleton_method(module, name, func, argc); rb_define_singleton_method 1410 complex.c rb_define_singleton_method(rb_cComplex, "rectangular", nucomp_s_new, -1); rb_define_singleton_method 1411 complex.c rb_define_singleton_method(rb_cComplex, "rect", nucomp_s_new, -1); rb_define_singleton_method 1412 complex.c rb_define_singleton_method(rb_cComplex, "polar", nucomp_s_polar, 2); rb_define_singleton_method 1000 cont.c rb_define_singleton_method(rb_cFiber, "yield", rb_fiber_s_yield, -1); rb_define_singleton_method 1021 cont.c rb_define_singleton_method(rb_cFiber, "current", rb_fiber_s_current, 0); rb_define_singleton_method 1874 dir.c rb_define_singleton_method(rb_cDir, "open", dir_s_open, -1); rb_define_singleton_method 1875 dir.c rb_define_singleton_method(rb_cDir, "foreach", dir_foreach, -1); rb_define_singleton_method 1876 dir.c rb_define_singleton_method(rb_cDir, "entries", dir_entries, -1); rb_define_singleton_method 1890 dir.c rb_define_singleton_method(rb_cDir,"chdir", dir_s_chdir, -1); rb_define_singleton_method 1891 dir.c rb_define_singleton_method(rb_cDir,"getwd", dir_s_getwd, 0); rb_define_singleton_method 1892 dir.c rb_define_singleton_method(rb_cDir,"pwd", dir_s_getwd, 0); rb_define_singleton_method 1893 dir.c rb_define_singleton_method(rb_cDir,"chroot", dir_s_chroot, 1); rb_define_singleton_method 1894 dir.c rb_define_singleton_method(rb_cDir,"mkdir", dir_s_mkdir, -1); rb_define_singleton_method 1895 dir.c rb_define_singleton_method(rb_cDir,"rmdir", dir_s_rmdir, 1); rb_define_singleton_method 1896 dir.c rb_define_singleton_method(rb_cDir,"delete", dir_s_rmdir, 1); rb_define_singleton_method 1897 dir.c rb_define_singleton_method(rb_cDir,"unlink", dir_s_rmdir, 1); rb_define_singleton_method 1899 dir.c rb_define_singleton_method(rb_cDir,"glob", dir_s_glob, -1); rb_define_singleton_method 1900 dir.c rb_define_singleton_method(rb_cDir,"[]", dir_s_aref, -1); rb_define_singleton_method 1901 dir.c rb_define_singleton_method(rb_cDir,"exist?", rb_file_directory_p, 1); /* in file.c */ rb_define_singleton_method 1902 dir.c rb_define_singleton_method(rb_cDir,"exists?", rb_file_directory_p, 1); /* in file.c */ rb_define_singleton_method 1904 dir.c rb_define_singleton_method(rb_cFile,"fnmatch", file_s_fnmatch, -1); rb_define_singleton_method 1905 dir.c rb_define_singleton_method(rb_cFile,"fnmatch?", file_s_fnmatch, -1); rb_define_singleton_method 1378 encoding.c rb_define_singleton_method(rb_cEncoding, "list", enc_list, 0); rb_define_singleton_method 1379 encoding.c rb_define_singleton_method(rb_cEncoding, "name_list", rb_enc_name_list, 0); rb_define_singleton_method 1380 encoding.c rb_define_singleton_method(rb_cEncoding, "aliases", rb_enc_aliases, 0); rb_define_singleton_method 1381 encoding.c rb_define_singleton_method(rb_cEncoding, "find", enc_find, 1); rb_define_singleton_method 1382 encoding.c rb_define_singleton_method(rb_cEncoding, "compatible?", enc_compatible_p, 2); rb_define_singleton_method 1385 encoding.c rb_define_singleton_method(rb_cEncoding, "_load", enc_load, 1); rb_define_singleton_method 1387 encoding.c rb_define_singleton_method(rb_cEncoding, "default_external", get_default_external, 0); rb_define_singleton_method 1388 encoding.c rb_define_singleton_method(rb_cEncoding, "default_external=", set_default_external, 1); rb_define_singleton_method 1389 encoding.c rb_define_singleton_method(rb_cEncoding, "default_internal", get_default_internal, 0); rb_define_singleton_method 1390 encoding.c rb_define_singleton_method(rb_cEncoding, "default_internal=", set_default_internal, 1); rb_define_singleton_method 1391 encoding.c rb_define_singleton_method(rb_cEncoding, "locale_charmap", rb_locale_charmap, 0); rb_define_singleton_method 1025 error.c rb_define_singleton_method(rb_eException, "exception", rb_class_new_instance, -1); rb_define_singleton_method 1061 error.c rb_define_singleton_method(rb_cNameErrorMesg, "!", name_err_mesg_new, 3); rb_define_singleton_method 1065 error.c rb_define_singleton_method(rb_cNameErrorMesg, "_load", name_err_mesg_load, 1); rb_define_singleton_method 1080 error.c rb_define_singleton_method(rb_eSystemCallError, "===", syserr_eqq, 1); rb_define_singleton_method 1055 eval.c rb_define_singleton_method(rb_cModule, "nesting", rb_mod_nesting, 0); rb_define_singleton_method 1056 eval.c rb_define_singleton_method(rb_cModule, "constants", rb_mod_s_constants, -1); rb_define_singleton_method 1058 eval.c rb_define_singleton_method(rb_vm_top_self(), "include", top_include, -1); rb_define_singleton_method 1861 ext/bigdecimal/bigdecimal.c rb_define_singleton_method(rb_cBigDecimal, "new", BigDecimal_new, -1); rb_define_singleton_method 1862 ext/bigdecimal/bigdecimal.c rb_define_singleton_method(rb_cBigDecimal, "mode", BigDecimal_mode, -1); rb_define_singleton_method 1863 ext/bigdecimal/bigdecimal.c rb_define_singleton_method(rb_cBigDecimal, "limit", BigDecimal_limit, -1); rb_define_singleton_method 1864 ext/bigdecimal/bigdecimal.c rb_define_singleton_method(rb_cBigDecimal, "double_fig", BigDecimal_double_fig, 0); rb_define_singleton_method 1865 ext/bigdecimal/bigdecimal.c rb_define_singleton_method(rb_cBigDecimal, "_load", BigDecimal_load, 1); rb_define_singleton_method 1866 ext/bigdecimal/bigdecimal.c rb_define_singleton_method(rb_cBigDecimal, "ver", BigDecimal_version, 0); rb_define_singleton_method 692 ext/dbm/dbm.c rb_define_singleton_method(rb_cDBM, "open", fdbm_s_open, -1); rb_define_singleton_method 136 ext/digest/bubblebabble/bubblebabble.c rb_define_singleton_method(cDigest_Class, "bubblebabble", rb_digest_class_s_bubblebabble, -1); rb_define_singleton_method 625 ext/digest/digest.c rb_define_singleton_method(rb_cDigest_Class, "digest", rb_digest_class_s_digest, -1); rb_define_singleton_method 626 ext/digest/digest.c rb_define_singleton_method(rb_cDigest_Class, "hexdigest", rb_digest_class_s_hexdigest, -1); rb_define_singleton_method 455 ext/dl/cptr.c rb_define_singleton_method(rb_cDLCPtr, "malloc", rb_dlptr_s_malloc, -1); rb_define_singleton_method 456 ext/dl/cptr.c rb_define_singleton_method(rb_cDLCPtr, "to_ptr", rb_dlptr_s_to_ptr, 1); rb_define_singleton_method 457 ext/dl/cptr.c rb_define_singleton_method(rb_cDLCPtr, "[]", rb_dlptr_s_to_ptr, 1); rb_define_singleton_method 1182 ext/gdbm/gdbm.c rb_define_singleton_method(rb_cGDBM, "open", fgdbm_s_open, -1); rb_define_singleton_method 1162 ext/iconv/iconv.c rb_define_singleton_method(rb_cIconv, "open", iconv_s_open, -1); rb_define_singleton_method 1163 ext/iconv/iconv.c rb_define_singleton_method(rb_cIconv, "iconv", iconv_s_iconv, -1); rb_define_singleton_method 1164 ext/iconv/iconv.c rb_define_singleton_method(rb_cIconv, "conv", iconv_s_conv, 3); rb_define_singleton_method 1165 ext/iconv/iconv.c rb_define_singleton_method(rb_cIconv, "list", iconv_s_list, 0); rb_define_singleton_method 1166 ext/iconv/iconv.c rb_define_singleton_method(rb_cIconv, "ctlmethods", iconv_s_ctlmethods, 0); rb_define_singleton_method 1201 ext/iconv/iconv.c rb_define_singleton_method(rb_cIconv, "charset_map", charset_map_get, 0); rb_define_singleton_method 811 ext/json/ext/generator/generator.c rb_define_singleton_method(cState, "from_state", cState_from_state_s, 1); rb_define_singleton_method 846 ext/json/ext/generator/generator.c rb_define_singleton_method(mString, "included", mString_included_s, 1); rb_define_singleton_method 1159 ext/openssl/ossl_asn1.c rb_define_singleton_method(cASN1ObjectId, "register", ossl_asn1obj_s_register, 3); rb_define_singleton_method 797 ext/openssl/ossl_bn.c rb_define_singleton_method(cBN, "rand", ossl_bn_s_rand, -1); rb_define_singleton_method 798 ext/openssl/ossl_bn.c rb_define_singleton_method(cBN, "pseudo_rand", ossl_bn_s_pseudo_rand, -1); rb_define_singleton_method 799 ext/openssl/ossl_bn.c rb_define_singleton_method(cBN, "rand_range", ossl_bn_s_rand_range, 1); rb_define_singleton_method 800 ext/openssl/ossl_bn.c rb_define_singleton_method(cBN, "pseudo_rand_range", ossl_bn_s_pseudo_rand_range, 1); rb_define_singleton_method 802 ext/openssl/ossl_bn.c rb_define_singleton_method(cBN, "generate_prime", ossl_bn_s_generate_prime, -1); rb_define_singleton_method 452 ext/openssl/ossl_config.c rb_define_singleton_method(cConfig, "parse", ossl_config_s_parse, 1); rb_define_singleton_method 351 ext/openssl/ossl_engine.c rb_define_singleton_method(cEngine, "load", ossl_engine_s_load, -1); rb_define_singleton_method 352 ext/openssl/ossl_engine.c rb_define_singleton_method(cEngine, "cleanup", ossl_engine_s_cleanup, 0); rb_define_singleton_method 353 ext/openssl/ossl_engine.c rb_define_singleton_method(cEngine, "engines", ossl_engine_s_engines, 0); rb_define_singleton_method 354 ext/openssl/ossl_engine.c rb_define_singleton_method(cEngine, "by_id", ossl_engine_s_by_id, 1); rb_define_singleton_method 248 ext/openssl/ossl_hmac.c rb_define_singleton_method(cHMAC, "digest", ossl_hmac_s_digest, 3); rb_define_singleton_method 249 ext/openssl/ossl_hmac.c rb_define_singleton_method(cHMAC, "hexdigest", ossl_hmac_s_hexdigest, 3); rb_define_singleton_method 702 ext/openssl/ossl_ocsp.c rb_define_singleton_method(cOCSPRes, "create", ossl_ocspres_s_create, 2); rb_define_singleton_method 204 ext/openssl/ossl_pkcs12.c rb_define_singleton_method(cPKCS12, "create", ossl_pkcs12_s_create, -1); rb_define_singleton_method 960 ext/openssl/ossl_pkcs7.c rb_define_singleton_method(cPKCS7, "read_smime", ossl_pkcs7_s_read_smime, 1); rb_define_singleton_method 961 ext/openssl/ossl_pkcs7.c rb_define_singleton_method(cPKCS7, "write_smime", ossl_pkcs7_s_write_smime, -1); rb_define_singleton_method 962 ext/openssl/ossl_pkcs7.c rb_define_singleton_method(cPKCS7, "sign", ossl_pkcs7_s_sign, -1); rb_define_singleton_method 963 ext/openssl/ossl_pkcs7.c rb_define_singleton_method(cPKCS7, "encrypt", ossl_pkcs7_s_encrypt, -1); rb_define_singleton_method 499 ext/openssl/ossl_pkey_dh.c rb_define_singleton_method(cDH, "generate", ossl_dh_s_generate, -1); rb_define_singleton_method 457 ext/openssl/ossl_pkey_dsa.c rb_define_singleton_method(cDSA, "generate", ossl_dsa_s_generate, 1); rb_define_singleton_method 1501 ext/openssl/ossl_pkey_ec.c rb_define_singleton_method(cEC, "builtin_curves", ossl_s_builtin_curves, 0); rb_define_singleton_method 548 ext/openssl/ossl_pkey_rsa.c rb_define_singleton_method(cRSA, "generate", ossl_rsa_s_generate, -1); rb_define_singleton_method 176 ext/openssl/ossl_rand.c rb_define_singleton_method(class, name, func, argc); rb_define_singleton_method 1189 ext/readline/readline.c rb_define_singleton_method(mReadline, "input=", rb_define_singleton_method 1191 ext/readline/readline.c rb_define_singleton_method(mReadline, "output=", rb_define_singleton_method 1193 ext/readline/readline.c rb_define_singleton_method(mReadline, "completion_proc=", rb_define_singleton_method 1195 ext/readline/readline.c rb_define_singleton_method(mReadline, "completion_proc", rb_define_singleton_method 1197 ext/readline/readline.c rb_define_singleton_method(mReadline, "completion_case_fold=", rb_define_singleton_method 1199 ext/readline/readline.c rb_define_singleton_method(mReadline, "completion_case_fold", rb_define_singleton_method 1201 ext/readline/readline.c rb_define_singleton_method(mReadline, "vi_editing_mode", rb_define_singleton_method 1203 ext/readline/readline.c rb_define_singleton_method(mReadline, "vi_editing_mode?", rb_define_singleton_method 1205 ext/readline/readline.c rb_define_singleton_method(mReadline, "emacs_editing_mode", rb_define_singleton_method 1207 ext/readline/readline.c rb_define_singleton_method(mReadline, "emacs_editing_mode?", rb_define_singleton_method 1209 ext/readline/readline.c rb_define_singleton_method(mReadline, "completion_append_character=", rb_define_singleton_method 1211 ext/readline/readline.c rb_define_singleton_method(mReadline, "completion_append_character", rb_define_singleton_method 1213 ext/readline/readline.c rb_define_singleton_method(mReadline, "basic_word_break_characters=", rb_define_singleton_method 1215 ext/readline/readline.c rb_define_singleton_method(mReadline, "basic_word_break_characters", rb_define_singleton_method 1217 ext/readline/readline.c rb_define_singleton_method(mReadline, "completer_word_break_characters=", rb_define_singleton_method 1219 ext/readline/readline.c rb_define_singleton_method(mReadline, "completer_word_break_characters", rb_define_singleton_method 1221 ext/readline/readline.c rb_define_singleton_method(mReadline, "basic_quote_characters=", rb_define_singleton_method 1223 ext/readline/readline.c rb_define_singleton_method(mReadline, "basic_quote_characters", rb_define_singleton_method 1225 ext/readline/readline.c rb_define_singleton_method(mReadline, "completer_quote_characters=", rb_define_singleton_method 1227 ext/readline/readline.c rb_define_singleton_method(mReadline, "completer_quote_characters", rb_define_singleton_method 1229 ext/readline/readline.c rb_define_singleton_method(mReadline, "filename_quote_characters=", rb_define_singleton_method 1231 ext/readline/readline.c rb_define_singleton_method(mReadline, "filename_quote_characters", rb_define_singleton_method 1236 ext/readline/readline.c rb_define_singleton_method(history,"to_s", hist_to_s, 0); rb_define_singleton_method 1237 ext/readline/readline.c rb_define_singleton_method(history,"[]", hist_get, 1); rb_define_singleton_method 1238 ext/readline/readline.c rb_define_singleton_method(history,"[]=", hist_set, 2); rb_define_singleton_method 1239 ext/readline/readline.c rb_define_singleton_method(history,"<<", hist_push, 1); rb_define_singleton_method 1240 ext/readline/readline.c rb_define_singleton_method(history,"push", hist_push_method, -1); rb_define_singleton_method 1241 ext/readline/readline.c rb_define_singleton_method(history,"pop", hist_pop, 0); rb_define_singleton_method 1242 ext/readline/readline.c rb_define_singleton_method(history,"shift", hist_shift, 0); rb_define_singleton_method 1243 ext/readline/readline.c rb_define_singleton_method(history,"each", hist_each, 0); rb_define_singleton_method 1244 ext/readline/readline.c rb_define_singleton_method(history,"length", hist_length, 0); rb_define_singleton_method 1245 ext/readline/readline.c rb_define_singleton_method(history,"size", hist_length, 0); rb_define_singleton_method 1246 ext/readline/readline.c rb_define_singleton_method(history,"empty?", hist_empty_p, 0); rb_define_singleton_method 1247 ext/readline/readline.c rb_define_singleton_method(history,"delete_at", hist_delete_at, 1); rb_define_singleton_method 1248 ext/readline/readline.c rb_define_singleton_method(history,"clear", hist_clear, 0); rb_define_singleton_method 1259 ext/readline/readline.c rb_define_singleton_method(fcomp, "call", rb_define_singleton_method 1268 ext/readline/readline.c rb_define_singleton_method(ucomp, "call", rb_define_singleton_method 671 ext/sdbm/init.c rb_define_singleton_method(rb_cDBM, "open", fsdbm_s_open, -1); rb_define_singleton_method 3614 ext/socket/socket.c rb_define_singleton_method(rb_cBasicSocket, "do_not_reverse_lookup", rb_define_singleton_method 3616 ext/socket/socket.c rb_define_singleton_method(rb_cBasicSocket, "do_not_reverse_lookup=", rb_define_singleton_method 3618 ext/socket/socket.c rb_define_singleton_method(rb_cBasicSocket, "for_fd", bsock_s_for_fd, 1); rb_define_singleton_method 3637 ext/socket/socket.c rb_define_singleton_method(rb_cIPSocket, "getaddress", ip_s_getaddress, 1); rb_define_singleton_method 3640 ext/socket/socket.c rb_define_singleton_method(rb_cTCPSocket, "gethostbyname", tcp_s_gethostbyname, 1); rb_define_singleton_method 3674 ext/socket/socket.c rb_define_singleton_method(rb_cUNIXSocket, "socketpair", unix_s_socketpair, -1); rb_define_singleton_method 3675 ext/socket/socket.c rb_define_singleton_method(rb_cUNIXSocket, "pair", unix_s_socketpair, -1); rb_define_singleton_method 3699 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "socketpair", sock_s_socketpair, 3); rb_define_singleton_method 3700 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "pair", sock_s_socketpair, 3); rb_define_singleton_method 3701 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "gethostname", sock_gethostname, 0); rb_define_singleton_method 3702 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "gethostbyname", sock_s_gethostbyname, 1); rb_define_singleton_method 3703 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "gethostbyaddr", sock_s_gethostbyaddr, -1); rb_define_singleton_method 3704 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "getservbyname", sock_s_getservbyname, -1); rb_define_singleton_method 3705 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "getservbyport", sock_s_getservbyport, -1); rb_define_singleton_method 3706 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "getaddrinfo", sock_s_getaddrinfo, -1); rb_define_singleton_method 3707 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "getnameinfo", sock_s_getnameinfo, -1); rb_define_singleton_method 3708 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "sockaddr_in", sock_s_pack_sockaddr_in, 2); rb_define_singleton_method 3709 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "pack_sockaddr_in", sock_s_pack_sockaddr_in, 2); rb_define_singleton_method 3710 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "unpack_sockaddr_in", sock_s_unpack_sockaddr_in, 1); rb_define_singleton_method 3712 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "sockaddr_un", sock_s_pack_sockaddr_un, 1); rb_define_singleton_method 3713 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "pack_sockaddr_un", sock_s_pack_sockaddr_un, 1); rb_define_singleton_method 3714 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "unpack_sockaddr_un", sock_s_unpack_sockaddr_un, 1); rb_define_singleton_method 1298 ext/stringio/stringio.c rb_define_singleton_method(StringIO, "open", strio_s_open, -1); rb_define_singleton_method 1278 ext/strscan/strscan.c rb_define_singleton_method(StringScanner, "must_C_version", strscan_s_mustc, 0); rb_define_singleton_method 2190 ext/syck/rubyext.c rb_define_singleton_method( oDefaultResolver, "node_import", syck_defaultresolver_node_import, 1 ); rb_define_singleton_method 2191 ext/syck/rubyext.c rb_define_singleton_method( oDefaultResolver, "detect_implicit", syck_defaultresolver_detect_implicit, 1 ); rb_define_singleton_method 2195 ext/syck/rubyext.c rb_define_singleton_method( oGenericResolver, "node_import", syck_genericresolver_node_import, 1 ); rb_define_singleton_method 9676 ext/tk/tcltklib.c rb_define_singleton_method(table, "get_name", encoding_table_get_name, 1); rb_define_singleton_method 9677 ext/tk/tcltklib.c rb_define_singleton_method(table, "get_obj", encoding_table_get_obj, 1); rb_define_singleton_method 1693 ext/tk/tkutil/tkutil.c rb_define_singleton_method(cCB_SUBST, "inspect", cbsubst_inspect, 0); rb_define_singleton_method 1696 ext/tk/tkutil/tkutil.c rb_define_singleton_method(cSUBST_INFO, "inspect", substinfo_inspect, 0); rb_define_singleton_method 1699 ext/tk/tkutil/tkutil.c rb_define_singleton_method(cCB_SUBST, "ret_val", cbsubst_ret_val, 1); rb_define_singleton_method 1700 ext/tk/tkutil/tkutil.c rb_define_singleton_method(cCB_SUBST, "scan_args", cbsubst_scan_args, 2); rb_define_singleton_method 1701 ext/tk/tkutil/tkutil.c rb_define_singleton_method(cCB_SUBST, "_sym2subst", rb_define_singleton_method 1703 ext/tk/tkutil/tkutil.c rb_define_singleton_method(cCB_SUBST, "subst_arg", rb_define_singleton_method 1705 ext/tk/tkutil/tkutil.c rb_define_singleton_method(cCB_SUBST, "_get_subst_key", rb_define_singleton_method 1707 ext/tk/tkutil/tkutil.c rb_define_singleton_method(cCB_SUBST, "_get_all_subst_keys", rb_define_singleton_method 1709 ext/tk/tkutil/tkutil.c rb_define_singleton_method(cCB_SUBST, "_setup_subst_table", rb_define_singleton_method 1711 ext/tk/tkutil/tkutil.c rb_define_singleton_method(cCB_SUBST, "_get_extra_args_tbl", rb_define_singleton_method 1713 ext/tk/tkutil/tkutil.c rb_define_singleton_method(cCB_SUBST, "_define_attribute_aliases", rb_define_singleton_method 1723 ext/tk/tkutil/tkutil.c rb_define_singleton_method(cTkCallbackEntry, "inspect", tk_cbe_inspect, 0); rb_define_singleton_method 1739 ext/tk/tkutil/tkutil.c rb_define_singleton_method(cTK, "new", tk_s_new, -1); rb_define_singleton_method 1745 ext/tk/tkutil/tkutil.c rb_define_singleton_method(TK_None, "to_s", tkNone_to_s, 0); rb_define_singleton_method 1746 ext/tk/tkutil/tkutil.c rb_define_singleton_method(TK_None, "inspect", tkNone_to_s, 0); rb_define_singleton_method 1754 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "eval_cmd", tk_eval_cmd, -1); rb_define_singleton_method 1755 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "callback", tk_do_callback, -1); rb_define_singleton_method 1756 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "install_cmd", tk_install_cmd, -1); rb_define_singleton_method 1757 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "uninstall_cmd", tk_uninstall_cmd, 1); rb_define_singleton_method 1758 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "_symbolkey2str", tk_symbolkey2str, 1); rb_define_singleton_method 1759 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "hash_kv", tk_hash_kv, -1); rb_define_singleton_method 1760 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "_get_eval_string", rb_define_singleton_method 1762 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "_get_eval_enc_str", rb_define_singleton_method 1764 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "_conv_args", tk_conv_args, -1); rb_define_singleton_method 1766 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "bool", tcl2rb_bool, 1); rb_define_singleton_method 1767 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "number", tcl2rb_number, 1); rb_define_singleton_method 1768 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "string", tcl2rb_string, 1); rb_define_singleton_method 1769 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "num_or_str", tcl2rb_num_or_str, 1); rb_define_singleton_method 8978 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE, "connect", fole_s_connect, -1); rb_define_singleton_method 8979 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE, "const_load", fole_s_const_load, -1); rb_define_singleton_method 8981 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE, "ole_free", fole_s_free, 1); rb_define_singleton_method 8982 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE, "ole_reference_count", fole_s_reference_count, 1); rb_define_singleton_method 8983 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE, "ole_show_help", fole_s_show_help, -1); rb_define_singleton_method 8984 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE, "codepage", fole_s_get_code_page, 0); rb_define_singleton_method 8985 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE, "codepage=", fole_s_set_code_page, 1); rb_define_singleton_method 8986 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE, "locale", fole_s_get_locale, 0); rb_define_singleton_method 8987 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE, "locale=", fole_s_set_locale, 1); rb_define_singleton_method 8988 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE, "create_guid", fole_s_create_guid, 0); rb_define_singleton_method 9066 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE_TYPELIB, "typelibs", foletypelib_s_typelibs, 0); rb_define_singleton_method 9082 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE_TYPE, "ole_classes", foletype_s_ole_classes, 1); rb_define_singleton_method 9083 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE_TYPE, "typelibs", foletype_s_typelibs, 0); rb_define_singleton_method 9084 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE_TYPE, "progids", foletype_s_progids, 0); rb_define_singleton_method 9156 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE_EVENT, "message_loop", fev_s_msg_loop, 0); rb_define_singleton_method 9168 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE_VARIANT, "array", folevariant_s_array, 2); rb_define_singleton_method 3473 ext/zlib/zlib.c rb_define_singleton_method(cDeflate, "deflate", rb_deflate_s_deflate, -1); rb_define_singleton_method 3484 ext/zlib/zlib.c rb_define_singleton_method(cInflate, "inflate", rb_inflate_s_inflate, 1); rb_define_singleton_method 3531 ext/zlib/zlib.c rb_define_singleton_method(cGzipFile, "wrap", rb_gzfile_s_wrap, -1); rb_define_singleton_method 3557 ext/zlib/zlib.c rb_define_singleton_method(cGzipWriter, "open", rb_gzwriter_s_open,-1); rb_define_singleton_method 3568 ext/zlib/zlib.c rb_define_singleton_method(cGzipReader, "open", rb_gzreader_s_open,-1); rb_define_singleton_method 4623 file.c rb_define_singleton_method(rb_cFile, name, func, argc); rb_define_singleton_method 4696 file.c rb_define_singleton_method(rb_cFile, "stat", rb_file_s_stat, 1); rb_define_singleton_method 4697 file.c rb_define_singleton_method(rb_cFile, "lstat", rb_file_s_lstat, 1); rb_define_singleton_method 4698 file.c rb_define_singleton_method(rb_cFile, "ftype", rb_file_s_ftype, 1); rb_define_singleton_method 4700 file.c rb_define_singleton_method(rb_cFile, "atime", rb_file_s_atime, 1); rb_define_singleton_method 4701 file.c rb_define_singleton_method(rb_cFile, "mtime", rb_file_s_mtime, 1); rb_define_singleton_method 4702 file.c rb_define_singleton_method(rb_cFile, "ctime", rb_file_s_ctime, 1); rb_define_singleton_method 4704 file.c rb_define_singleton_method(rb_cFile, "utime", rb_file_s_utime, -1); rb_define_singleton_method 4705 file.c rb_define_singleton_method(rb_cFile, "chmod", rb_file_s_chmod, -1); rb_define_singleton_method 4706 file.c rb_define_singleton_method(rb_cFile, "chown", rb_file_s_chown, -1); rb_define_singleton_method 4707 file.c rb_define_singleton_method(rb_cFile, "lchmod", rb_file_s_lchmod, -1); rb_define_singleton_method 4708 file.c rb_define_singleton_method(rb_cFile, "lchown", rb_file_s_lchown, -1); rb_define_singleton_method 4710 file.c rb_define_singleton_method(rb_cFile, "link", rb_file_s_link, 2); rb_define_singleton_method 4711 file.c rb_define_singleton_method(rb_cFile, "symlink", rb_file_s_symlink, 2); rb_define_singleton_method 4712 file.c rb_define_singleton_method(rb_cFile, "readlink", rb_file_s_readlink, 1); rb_define_singleton_method 4714 file.c rb_define_singleton_method(rb_cFile, "unlink", rb_file_s_unlink, -2); rb_define_singleton_method 4715 file.c rb_define_singleton_method(rb_cFile, "delete", rb_file_s_unlink, -2); rb_define_singleton_method 4716 file.c rb_define_singleton_method(rb_cFile, "rename", rb_file_s_rename, 2); rb_define_singleton_method 4717 file.c rb_define_singleton_method(rb_cFile, "umask", rb_file_s_umask, -1); rb_define_singleton_method 4718 file.c rb_define_singleton_method(rb_cFile, "truncate", rb_file_s_truncate, 2); rb_define_singleton_method 4719 file.c rb_define_singleton_method(rb_cFile, "expand_path", rb_file_s_expand_path, -1); rb_define_singleton_method 4720 file.c rb_define_singleton_method(rb_cFile, "absolute_path", rb_file_s_absolute_path, -1); rb_define_singleton_method 4721 file.c rb_define_singleton_method(rb_cFile, "basename", rb_file_s_basename, -1); rb_define_singleton_method 4722 file.c rb_define_singleton_method(rb_cFile, "dirname", rb_file_s_dirname, 1); rb_define_singleton_method 4723 file.c rb_define_singleton_method(rb_cFile, "extname", rb_file_s_extname, 1); rb_define_singleton_method 4724 file.c rb_define_singleton_method(rb_cFile, "path", rb_file_s_path, 1); rb_define_singleton_method 4729 file.c rb_define_singleton_method(rb_cFile, "split", rb_file_s_split, 1); rb_define_singleton_method 4730 file.c rb_define_singleton_method(rb_cFile, "join", rb_file_s_join, -2); rb_define_singleton_method 2883 gc.c rb_define_singleton_method(rb_mGC, "start", rb_gc_start, 0); rb_define_singleton_method 2884 gc.c rb_define_singleton_method(rb_mGC, "enable", rb_gc_enable, 0); rb_define_singleton_method 2885 gc.c rb_define_singleton_method(rb_mGC, "disable", rb_gc_disable, 0); rb_define_singleton_method 2886 gc.c rb_define_singleton_method(rb_mGC, "stress", gc_stress_get, 0); rb_define_singleton_method 2887 gc.c rb_define_singleton_method(rb_mGC, "stress=", gc_stress_set, 1); rb_define_singleton_method 2888 gc.c rb_define_singleton_method(rb_mGC, "count", gc_count, 0); rb_define_singleton_method 2892 gc.c rb_define_singleton_method(rb_mProfiler, "enabled?", gc_profile_enable_get, 0); rb_define_singleton_method 2893 gc.c rb_define_singleton_method(rb_mProfiler, "enable", gc_profile_enable, 0); rb_define_singleton_method 2894 gc.c rb_define_singleton_method(rb_mProfiler, "disable", gc_profile_disable, 0); rb_define_singleton_method 2895 gc.c rb_define_singleton_method(rb_mProfiler, "clear", gc_profile_clear, 0); rb_define_singleton_method 2896 gc.c rb_define_singleton_method(rb_mProfiler, "result", gc_profile_result, 0); rb_define_singleton_method 2897 gc.c rb_define_singleton_method(rb_mProfiler, "report", gc_profile_report, -1); rb_define_singleton_method 2920 gc.c rb_define_singleton_method(rb_mGC, "malloc_allocated_size", gc_malloc_allocated_size, 0); rb_define_singleton_method 2921 gc.c rb_define_singleton_method(rb_mGC, "malloc_allocations", gc_malloc_allocations, 0); rb_define_singleton_method 2592 hash.c rb_define_singleton_method(rb_cHash, "[]", rb_hash_s_create, -1); rb_define_singleton_method 2593 hash.c rb_define_singleton_method(rb_cHash, "try_convert", rb_hash_s_try_convert, 1); rb_define_singleton_method 2659 hash.c rb_define_singleton_method(envtbl,"[]", rb_f_getenv, 1); rb_define_singleton_method 2660 hash.c rb_define_singleton_method(envtbl,"fetch", env_fetch, -1); rb_define_singleton_method 2661 hash.c rb_define_singleton_method(envtbl,"[]=", env_aset, 2); rb_define_singleton_method 2662 hash.c rb_define_singleton_method(envtbl,"store", env_aset, 2); rb_define_singleton_method 2663 hash.c rb_define_singleton_method(envtbl,"each", env_each_pair, 0); rb_define_singleton_method 2664 hash.c rb_define_singleton_method(envtbl,"each_pair", env_each_pair, 0); rb_define_singleton_method 2665 hash.c rb_define_singleton_method(envtbl,"each_key", env_each_key, 0); rb_define_singleton_method 2666 hash.c rb_define_singleton_method(envtbl,"each_value", env_each_value, 0); rb_define_singleton_method 2667 hash.c rb_define_singleton_method(envtbl,"delete", env_delete_m, 1); rb_define_singleton_method 2668 hash.c rb_define_singleton_method(envtbl,"delete_if", env_delete_if, 0); rb_define_singleton_method 2669 hash.c rb_define_singleton_method(envtbl,"clear", rb_env_clear, 0); rb_define_singleton_method 2670 hash.c rb_define_singleton_method(envtbl,"reject", env_reject, 0); rb_define_singleton_method 2671 hash.c rb_define_singleton_method(envtbl,"reject!", env_reject_bang, 0); rb_define_singleton_method 2672 hash.c rb_define_singleton_method(envtbl,"select", env_select, 0); rb_define_singleton_method 2673 hash.c rb_define_singleton_method(envtbl,"shift", env_shift, 0); rb_define_singleton_method 2674 hash.c rb_define_singleton_method(envtbl,"invert", env_invert, 0); rb_define_singleton_method 2675 hash.c rb_define_singleton_method(envtbl,"replace", env_replace, 1); rb_define_singleton_method 2676 hash.c rb_define_singleton_method(envtbl,"update", env_update, 1); rb_define_singleton_method 2677 hash.c rb_define_singleton_method(envtbl,"inspect", env_inspect, 0); rb_define_singleton_method 2678 hash.c rb_define_singleton_method(envtbl,"rehash", env_none, 0); rb_define_singleton_method 2679 hash.c rb_define_singleton_method(envtbl,"to_a", env_to_a, 0); rb_define_singleton_method 2680 hash.c rb_define_singleton_method(envtbl,"to_s", env_to_s, 0); rb_define_singleton_method 2681 hash.c rb_define_singleton_method(envtbl,"key", env_key, 1); rb_define_singleton_method 2682 hash.c rb_define_singleton_method(envtbl,"index", env_index, 1); rb_define_singleton_method 2683 hash.c rb_define_singleton_method(envtbl,"size", env_size, 0); rb_define_singleton_method 2684 hash.c rb_define_singleton_method(envtbl,"length", env_size, 0); rb_define_singleton_method 2685 hash.c rb_define_singleton_method(envtbl,"empty?", env_empty_p, 0); rb_define_singleton_method 2686 hash.c rb_define_singleton_method(envtbl,"keys", env_keys, 0); rb_define_singleton_method 2687 hash.c rb_define_singleton_method(envtbl,"values", env_values, 0); rb_define_singleton_method 2688 hash.c rb_define_singleton_method(envtbl,"values_at", env_values_at, -1); rb_define_singleton_method 2689 hash.c rb_define_singleton_method(envtbl,"include?", env_has_key, 1); rb_define_singleton_method 2690 hash.c rb_define_singleton_method(envtbl,"member?", env_has_key, 1); rb_define_singleton_method 2691 hash.c rb_define_singleton_method(envtbl,"has_key?", env_has_key, 1); rb_define_singleton_method 2692 hash.c rb_define_singleton_method(envtbl,"has_value?", env_has_value, 1); rb_define_singleton_method 2693 hash.c rb_define_singleton_method(envtbl,"key?", env_has_key, 1); rb_define_singleton_method 2694 hash.c rb_define_singleton_method(envtbl,"value?", env_has_value, 1); rb_define_singleton_method 2695 hash.c rb_define_singleton_method(envtbl,"to_hash", env_to_hash, 0); rb_define_singleton_method 2696 hash.c rb_define_singleton_method(envtbl,"assoc", env_assoc, 1); rb_define_singleton_method 2697 hash.c rb_define_singleton_method(envtbl,"rassoc", env_rassoc, 1); rb_define_singleton_method 168 include/ruby/intern.h void rb_define_singleton_method(VALUE, const char*, VALUE(*)(ANYARGS), int); rb_define_singleton_method 8522 io.c rb_define_singleton_method(rb_cFile, "open", rb_io_s_open, -1); rb_define_singleton_method 8526 io.c rb_define_singleton_method(rb_cIO, "new", rb_io_s_new, -1); rb_define_singleton_method 8527 io.c rb_define_singleton_method(rb_cIO, "open", rb_io_s_open, -1); rb_define_singleton_method 8528 io.c rb_define_singleton_method(rb_cIO, "sysopen", rb_io_s_sysopen, -1); rb_define_singleton_method 8529 io.c rb_define_singleton_method(rb_cIO, "for_fd", rb_io_s_for_fd, -1); rb_define_singleton_method 8530 io.c rb_define_singleton_method(rb_cIO, "popen", rb_io_s_popen, -1); rb_define_singleton_method 8531 io.c rb_define_singleton_method(rb_cIO, "foreach", rb_io_s_foreach, -1); rb_define_singleton_method 8532 io.c rb_define_singleton_method(rb_cIO, "readlines", rb_io_s_readlines, -1); rb_define_singleton_method 8533 io.c rb_define_singleton_method(rb_cIO, "read", rb_io_s_read, -1); rb_define_singleton_method 8534 io.c rb_define_singleton_method(rb_cIO, "binread", rb_io_s_binread, -1); rb_define_singleton_method 8535 io.c rb_define_singleton_method(rb_cIO, "select", rb_f_select, -1); rb_define_singleton_method 8536 io.c rb_define_singleton_method(rb_cIO, "pipe", rb_io_s_pipe, -1); rb_define_singleton_method 8537 io.c rb_define_singleton_method(rb_cIO, "try_convert", rb_io_s_try_convert, 1); rb_define_singleton_method 8538 io.c rb_define_singleton_method(rb_cIO, "copy_stream", rb_io_s_copy_stream, -1); rb_define_singleton_method 1346 iseq.c rb_define_singleton_method(rb_cISeq, "compile", iseq_s_compile, -1); rb_define_singleton_method 1347 iseq.c rb_define_singleton_method(rb_cISeq, "new", iseq_s_compile, -1); rb_define_singleton_method 1348 iseq.c rb_define_singleton_method(rb_cISeq, "compile_file", iseq_s_compile_file, -1); rb_define_singleton_method 1349 iseq.c rb_define_singleton_method(rb_cISeq, "compile_option", iseq_s_compile_option_get, 0); rb_define_singleton_method 1350 iseq.c rb_define_singleton_method(rb_cISeq, "compile_option=", iseq_s_compile_option_set, 1); rb_define_singleton_method 1351 iseq.c rb_define_singleton_method(rb_cISeq, "disasm", iseq_s_disasm, 1); rb_define_singleton_method 1352 iseq.c rb_define_singleton_method(rb_cISeq, "disassemble", iseq_s_disasm, 1); rb_define_singleton_method 1798 proc.c rb_define_singleton_method(rb_cProc, "new", rb_proc_s_new, -1); rb_define_singleton_method 908 process.c rb_define_singleton_method(watcher, "pid", detach_process_pid, 0); rb_define_singleton_method 5046 process.c rb_define_singleton_method(rb_mProcess, "exec", rb_f_exec, -1); rb_define_singleton_method 5047 process.c rb_define_singleton_method(rb_mProcess, "fork", rb_f_fork, 0); rb_define_singleton_method 5048 process.c rb_define_singleton_method(rb_mProcess, "spawn", rb_f_spawn, -1); rb_define_singleton_method 5049 process.c rb_define_singleton_method(rb_mProcess, "exit!", rb_f_exit_bang, -1); rb_define_singleton_method 5050 process.c rb_define_singleton_method(rb_mProcess, "exit", rb_f_exit, -1); rb_define_singleton_method 5051 process.c rb_define_singleton_method(rb_mProcess, "abort", rb_f_abort, -1); rb_define_singleton_method 3381 re.c rb_define_singleton_method(rb_cRegexp, "compile", rb_class_new_instance, -1); rb_define_singleton_method 3382 re.c rb_define_singleton_method(rb_cRegexp, "quote", rb_reg_s_quote, 1); rb_define_singleton_method 3383 re.c rb_define_singleton_method(rb_cRegexp, "escape", rb_reg_s_quote, 1); rb_define_singleton_method 3384 re.c rb_define_singleton_method(rb_cRegexp, "union", rb_reg_s_union_m, -2); rb_define_singleton_method 3385 re.c rb_define_singleton_method(rb_cRegexp, "last_match", rb_reg_s_last_match, -1); rb_define_singleton_method 3386 re.c rb_define_singleton_method(rb_cRegexp, "try_convert", rb_reg_s_try_convert, 1); rb_define_singleton_method 7071 string.c rb_define_singleton_method(rb_cString, "try_convert", rb_str_s_try_convert, 1); rb_define_singleton_method 7202 string.c rb_define_singleton_method(rb_cSymbol, "all_symbols", rb_sym_all_symbols, 0); /* in parse.y */ rb_define_singleton_method 199 struct.c rb_define_singleton_method(nstr, "new", rb_class_new_instance, -1); rb_define_singleton_method 200 struct.c rb_define_singleton_method(nstr, "[]", rb_class_new_instance, -1); rb_define_singleton_method 201 struct.c rb_define_singleton_method(nstr, "members", rb_struct_s_members_m, 0); rb_define_singleton_method 885 struct.c rb_define_singleton_method(rb_cStruct, "new", rb_struct_s_def, -1); rb_define_singleton_method 3701 thread.c rb_define_singleton_method(rb_cThread, "new", thread_s_new, -1); rb_define_singleton_method 3702 thread.c rb_define_singleton_method(rb_cThread, "start", thread_start, -2); rb_define_singleton_method 3703 thread.c rb_define_singleton_method(rb_cThread, "fork", thread_start, -2); rb_define_singleton_method 3704 thread.c rb_define_singleton_method(rb_cThread, "main", rb_thread_s_main, 0); rb_define_singleton_method 3705 thread.c rb_define_singleton_method(rb_cThread, "current", thread_s_current, 0); rb_define_singleton_method 3706 thread.c rb_define_singleton_method(rb_cThread, "stop", rb_thread_stop, 0); rb_define_singleton_method 3707 thread.c rb_define_singleton_method(rb_cThread, "kill", rb_thread_s_kill, 1); rb_define_singleton_method 3708 thread.c rb_define_singleton_method(rb_cThread, "exit", rb_thread_exit, 0); rb_define_singleton_method 3709 thread.c rb_define_singleton_method(rb_cThread, "pass", thread_s_pass, 0); rb_define_singleton_method 3710 thread.c rb_define_singleton_method(rb_cThread, "list", rb_thread_list, 0); rb_define_singleton_method 3711 thread.c rb_define_singleton_method(rb_cThread, "abort_on_exception", rb_thread_s_abort_exc, 0); rb_define_singleton_method 3712 thread.c rb_define_singleton_method(rb_cThread, "abort_on_exception=", rb_thread_s_abort_exc_set, 1); rb_define_singleton_method 3714 thread.c rb_define_singleton_method(rb_cThread, "DEBUG", rb_thread_s_debug, 0); rb_define_singleton_method 3715 thread.c rb_define_singleton_method(rb_cThread, "DEBUG=", rb_thread_s_debug_set, 1); rb_define_singleton_method 2393 time.c rb_define_singleton_method(rb_cTime, "now", rb_class_new_instance, -1); rb_define_singleton_method 2394 time.c rb_define_singleton_method(rb_cTime, "at", time_s_at, -1); rb_define_singleton_method 2395 time.c rb_define_singleton_method(rb_cTime, "utc", time_s_mkutc, -1); rb_define_singleton_method 2396 time.c rb_define_singleton_method(rb_cTime, "gm", time_s_mkutc, -1); rb_define_singleton_method 2397 time.c rb_define_singleton_method(rb_cTime, "local", time_s_mktime, -1); rb_define_singleton_method 2398 time.c rb_define_singleton_method(rb_cTime, "mktime", time_s_mktime, -1); rb_define_singleton_method 2463 time.c rb_define_singleton_method(rb_cTime, "_load", time_load, 1); rb_define_singleton_method 4087 transcode.c rb_define_singleton_method(rb_cEncodingConverter, "asciicompat_encoding", econv_s_asciicompat_encoding, 1); rb_define_singleton_method 4088 transcode.c rb_define_singleton_method(rb_cEncodingConverter, "search_convpath", econv_s_search_convpath, -1); rb_define_singleton_method 1899 vm.c rb_define_singleton_method(rb_cRubyVM, "SDR", sdr, 0); rb_define_singleton_method 1900 vm.c rb_define_singleton_method(rb_cRubyVM, "NSDR", nsdr, 0); rb_define_singleton_method 1991 vm.c rb_define_singleton_method(rb_vm_top_self(), "to_s", main_to_s, 0); rb_define_singleton_method 1130 vm_method.c rb_define_singleton_method(rb_vm_top_self(), "public", top_public, -1); rb_define_singleton_method 1131 vm_method.c rb_define_singleton_method(rb_vm_top_self(), "private", top_private, -1);