formating

This commit is contained in:
MorganGeek 2020-07-08 12:14:23 +02:00
parent a742b0e48a
commit 8456d8b15e

View File

@ -1,7 +1,7 @@
# List class methods
`<class>.metaClass.methods*.name.sort().unique()`
## Example
## Example
`println new Person().metaClass.methods*.name.sort().unique()`
Source http://groovy-almanac.org/list-the-methods-of-a-groovy-class/