ãã¾ã«ææãã§ä½¿ãã³ã¼ãããªãã¨ãªãè¼ãã¦ã¿ãããã³ãã¬ã¼ã使ããããã ãã©ãã¡ãã£ã¨ããã¹ã¯ãªããã ããããã ERB ã® API ã©ããªãã ã£ããè¦ãã¦ãªããããªãã¡ã¬ã³ã¹å¼ãã®ãã¡ãã£ã¨ããæéã ããã¦ãªã¨ãã«ä½¿ã£ã¦ãã(ERB ãããè¦ããããã¨ãã話ããããè¦ãã¦ãããå¿ãããã ããªãã) sample_template = Proc.new do |param1, param2| %Q! ã¨ã¾ããããªãããã§å§ã¾ã£ãããã§ããã ãã®è¾ºã¯ããã¶ãã³ãã¬ã¼ããªãã§ããã ã ãããã©ããªé¢¨ã«ä½ãæ¸ãããèªç±ãªãã§ãã ãã©ã¡ã¿ã«ã¤ãã¦ãè¨æ³ã«è¿·ããã¨ãªã ãã¤ãã®å½¢ã§åºåãããã¨ãã§ãã¾ãã ãã¨ãã°ã #{param1} ãããªé¢¨ã«ã æä¸ã«ãã£ã¦ã#{param2}ãªãã ãè¦æ £ããå½¢å¼ã§å®å¿ã§ãã ããããã§ããã !.lstrip end # 使ãã®ãç°¡åãAPI ã調ã¹ãã
{{#tags}}- {{label}}
{{/tags}}