ãªãããDRY ã®ååããã£ãã¼åéããã¦ãããã The DRY (Don't Repeat Yourself) Principle states: Every piece of knowledge must have a single, unambiguous, authoritative representation within a system. http://c2.com/cgi/wiki?DontRepeatYourself DRY (Don't Repeat Yourself) ã£ã¦ãããããåã«ãåããã¨ãç¹°ãè¿ããªããã¨ããæå³ã ã¨æã£ã¦ãããã ããããã¨ãã° class Node end class Element < Node def accept(visitor) visitor.visit_element(self) end end class Text < N
{{#tags}}- {{label}}
{{/tags}}