Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
freeze -> self[permalink][rdoc][edit] ãªãã¸ã§ã¯ããåçµï¼å 容ã®å¤æ´ãç¦æ¢ï¼ãã¾ãã åçµããããªãã¸ã§ã¯ãã®å¤æ´ã¯ä¾å¤ FrozenError ãçºçããã¾ãããã£ããåçµããããªãã¸ã§ã¯ããå ã«æ»ãæ¹æ³ã¯ããã¾ããã åçµãããã®ã¯ãªãã¸ã§ã¯ãã§ãããå¤æ°ã§ã¯ããã¾ãããä»£å ¥ãªã©ã§å¤æ°ã®æããªãã¸ã§ã¯ããå¤åãã¦ãã¾ããã¨ã¯ freeze ã§ã¯é²ãã¾ããã freeze ãé²ãã®ã¯ã `ç ´å£çãªæä½' ã¨å¼ã°ãããã®ä¸è¬ã§ããå¤æ°ã¸ã®åç §èªä½ãåçµãããå ´åã¯ãã°ãã¼ãã«å¤æ°ãªã Kernel.#trace_var ã使ãã¾ãã [RETURN] self ãè¿ãã¾ãã a1 = "foo".freeze a1 = "bar" p a1 #=> "bar" a2 = "foo".freeze a2.replace("bar") # can't mo
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}