title: How to add a method to Enumeration in Scala?
body: <p>In Java you could:</p>
  
  <pre><code>public enum Enum {
      ONE {
          public String method() {
              return "1";
          }
      },
      TWO {
          public String method() {
              return "2";
          }
      },
      THREE {
          public String method() {
              return "3";
          }
      };
  
      public abstract String method();
  }
  </code></pre>
  
  <p>How do you do this in Scala?</p>
  
  <p>EDIT / Useful links:</p>
  
  <ul>
  <li><a href="https://github.com/rbricks/itemized" rel="noreferrer">https://github.com/rbricks/itemized</a></li>
  <li><a href="http://pedrorijo.com/blog/scala-enums/" rel="noreferrer">http://pedrorijo.com/blog/scala-enums/</a></li>
  </ul>