From 8456d8b15e0115b35342dc65ce12660dbcefe0b6 Mon Sep 17 00:00:00 2001 From: MorganGeek Date: Wed, 8 Jul 2020 12:14:23 +0200 Subject: [PATCH] formating --- cheat/groovy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cheat/groovy.md b/cheat/groovy.md index 7c5014c..01b424a 100644 --- a/cheat/groovy.md +++ b/cheat/groovy.md @@ -1,7 +1,7 @@ # List class methods `.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/