Groovy - Property Missing

//Groovy supports propertyMissing for dealing with property resolution attempts.
class Foo {
def propertyMissing(String name) { name }
}
def f = new Foo()
f.boo

we can override groovy error descriptions

Comments

Popular posts from this blog

PCF - Cloud Foundry Overview - Starting, Restarting and Restaging applications

அவன் ஏன் கூலியானான்?

தட்டு வண்டியில் காளிக்கோயில் - சிறுகதை