formating
This commit is contained in:
parent
a742b0e48a
commit
8456d8b15e
@ -1,7 +1,7 @@
|
|||||||
# List class methods
|
# List class methods
|
||||||
`<class>.metaClass.methods*.name.sort().unique()`
|
`<class>.metaClass.methods*.name.sort().unique()`
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
`println new Person().metaClass.methods*.name.sort().unique()`
|
`println new Person().metaClass.methods*.name.sort().unique()`
|
||||||
|
|
||||||
Source http://groovy-almanac.org/list-the-methods-of-a-groovy-class/
|
Source http://groovy-almanac.org/list-the-methods-of-a-groovy-class/
|
||||||
|
Loading…
Reference in New Issue
Block a user