5 lines
82 B
Groovy
5 lines
82 B
Groovy
|
|
def first(func) { func() }
|
||
|
|
def second() { println "second" }
|
||
|
|
|
||
|
|
first(this.&second)
|