æ®éã®ãã¤ãã®ä¸ãè¡ã: assert_caller() 以åã«ãä½ã¬ãã«ããã°ã©ãã³ã°ãæ好ããç¥äººããæ®éã®ãã¤ãã®ä¸ãè¡ãããå£çã«ãã¦ãã¾ãããå½æã¯ä½ãè¨ã£ã¦ããã®ãã¨èãæµãã¦ãã¾ããããèªåãæè¿ã«ãªã£ã¦ããããä½ã¬ãã«ããã°ã©ãã³ã°ã®ããããããããã£ã¦ãã¾ãããä»åã¯ãæ®éã®ãã¤ãã®ä¸ãè¡ããä¼ç»ã®ç¬¬ä¸å¼¾ã¨ã㦠assert_caller() ãªããã®ãä½ã£ã¦ã¿ããã¨æãã¾ãã assert_caller() ã¨ã¯ assert_caller() ã¨ã¯ãç¹å®ã®é¢æ°ããã®é¢æ°å¼ã³åºãã ããéãããã®ã¢ãµã¼ã·ã§ã³ã§ãããã¨ãã°ã次ã®ããã« foo() ã®å é 㧠assert_caller(main) ã¨æ¸ããå ´åã foo() 㯠main() ããããå¼ã³åºããªããªãã¾ããä»ã®é¢æ°ãã foo() ãå¼ã³åºããå ´åã¯ã¨ã©ã¼ã¡ãã»ã¼ã¸ã¨ã¨ãã«ç°å¸¸çµäºãã¾ãã void foo
{{#tags}}- {{label}}
{{/tags}}