GoFã®ãã¶ã¤ã³ãã¿ã¼ã³ã®ã³ã³ãã¸ãã(Composite)ã®Rubyã³ã¼ãã使ã£ãç´¹ä»è¨äºã§ãã ð¸ ã³ã³ãã¸ããã¨ã¯ï¼ãå ¨ä½ãé¨åãï¼åå¥ã®ãªãã¸ã§ã¯ãã¨åæãããªãã¸ã§ã¯ãï¼ãåä¸ã®ãã®ã¨ãã¦ã¨ããããã¨ã§ãå帰çãªæ§é ãã¯ã©ã¹ã§è¡¨ç¾ãããã¨ãCompositeãã¶ã¤ã³ãã¿ã¼ã³ã¨å¼ã³ã¾ãããå ¨ä½ãé¨åãã¯åãã¤ã³ã¿ãã§ã¼ã¹ãç¶æ¿ãã¾ãã ã³ã³ãã¸ããã¯æ¬¡ã®3ã¤ã®è¦ç´ ã«ãã£ã¦æ§æããã¾ãã ã³ã³ãã¼ãã³ã(Component)ï¼ãã¹ã¦ã®ãªãã¸ã§ã¯ãã®åºåºã¨ãªãã¯ã©ã¹ ãªã¼ã(Leaf)ï¼ããã»ã¹ã®åç´ãªæ§æè¦ç´ ãå帰ããªã ã³ã³ãã¸ãã(Composite)ï¼ã³ã³ãã¼ãã³ãã®ã²ã¨ã¤ã§ãµãã³ã³ãã¼ãã³ããæ§æ ä¾ã¨ãã¦ã¯ããã£ã¬ã¯ããªã¨ãã©ã«ããåæ§ã®ã³ã³ãã¼ãã³ãã¨ãã¦æ±ããã¨ã§ãåé¤å¦çãªã©ãå帰çã«è¡ããããã«ã§ãããã¨ãæãããã¾ããã¡ãªã¿ã«ãå帰ãã¨ã¯ãããå¦çã®ä¸ã§åã³ãã®
{{#tags}}- {{label}}
{{/tags}}