Amrita2ã¯ã ãã¶é²ãã§ãããã©ãããã¥ã¡ã³ããæ¸ããããããã¾ããã ããã§ãé¢ç½ãããªé¨åã®RSpecã®ã³ã¼ãã¨ããç°¡åãªèª¬æãã¡ã¢ç¨åº¦ã«ããã«æ¸ãã¦ããã¾ãããªãã以ä¸ã®RSpecã¯å ¨ã¦åãã¦ã¾ãã ã¾ãããã¯ããã³ãã¬ã¼ãã«ã¤ãã¦ã context "Macro can contain dynamic element" do class Hello2 < Amrita2::Macro::Base include Amrita2 ElementName = "hello" TemplateText = <<-END.gsub(/\s+/m, ' ') <span macro:src="hello"> <span macro:src="greeting" />, macro world! <span target_src="msg" /> </span> END end speci
{{#tags}}- {{label}}
{{/tags}}