ã·ãªã¼ãºã»Rubyã®Symbol ã ã¨ããããåããããããã®ããè¦ããã¨ãããã¨ã§ããinternåãããæååãã¨ãã¦ã®ã·ã³ãã«ã説æããããã®ããã«ã¯Rubyã«ãããæååå¤ã«ã¤ãã¦è©³ããèããå¿ è¦ãããã åä¸æ§ã¨åå¤æ§ 次ã¯çã ãããã "abc" == "abc" å¿è«ãçã§ãããRubyã§ã¯ String#== ã¯ãªã¼ãã¼ã©ã¤ãããã¦ãã¦ãé·ãã¨å 容 *1 ãçããæååå士ãæ¯è¼ããã¨çã«ãªãã ãã¦ã次ã¯çã ãããã "abc".equal? "abc" ããã¯ãã¶ãå½ã ãã *2 ãããã¯ä½æ ãã Object#equal? ã¯å¼æ°ã®ãªãã¸ã§ã¯ããã¬ã·ã¼ãèªèº«ã§ãããã¾ã£ããåä¸ã®ãªãã¸ã§ã¯ããæãã¨ãã®ã¿ãçã¨ãªãã equal? ã®ããã«ãªãã¸ã§ã¯ãã¨ãã¦çãããã¨ããåä¸æ§ãã¨è¨ããããã«å¯¾ã㦠String#== ã®ããã«ç¤ºãå 容ãçãããã¨ããåå¤æ§ãã¨è¨ã
{{#tags}}- {{label}}
{{/tags}}