Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current ·  View Page History

ExpandoMetaClass - Adding Methods to a Single Instance

Normally when you add or modify a method, it is added/ modified for all instances of that class. However, for GroovyObjects, you can dynamically add methods to individual instances like so:

Labels
  • None