Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.6-rc-2
-
Fix Version/s: None
-
Component/s: groovy-jdk
-
Labels:None
-
Number of attachments :
Description
When we use ConfigSlurper to do configuration, we may want to get the node as a Closure in some cases. There is no smart way to do so now.
a workaround is to define the closure node as String and parse it with GroovyShell
refer to the following thread
http://www.nabble.com/get-a-closure-from-ConfigObject-td21738767.html#a21738767