How to do method aliasing in groovy?

alias, groovy, methods

Solution

Do you mean like the method reference operator `.&` ?

def out = System.out.&println
out << "Hello"

and

def greet(name) {
    println "Hello $name"
}

def sayHello = this.&greet

sayHello "Ronny"

It is mentioned at http://groovy.codehaus.org/Operators but an example is missing

Problem

I am trying to redefine dynamic methods of a domain in groovy. Is there something similar alias method in ruby in groovy?

Original source

Related problems