Closed mariogarcia closed 7 years ago
Example:
DSL.enum('Countries') { description 'EU countries' value 'SPAIN', 'es' value 'ITALY', 'it' }
It seems that if you declare a method like:
def 'enum'(String name, Closure dsl) { // implementation }
Then you can call enum('Countries') { }
enum('Countries') { }
Example:
It seems that if you declare a method like:
Then you can call
enum('Countries') { }