title: Is there simpler (one-line) syntax to alias one class method?
body: <p>I know I can do the following, and it's just 3 lines:</p>
  
  <pre><code>class &lt;&lt; self
    alias :generate :new
  end
  </code></pre>
  
  <p>But out of curiosity, is there a simpler way (without semicolons) like:</p>
  
  <pre><code>class_alias :generate, :new
  </code></pre>