def gEngine = new groovy.text.GStringTemplateEngine() def binding = ["a": "a"] String testVar = gEngine.createTemplate("MY ENGINE STRING AS=\${a}").make(binding).toString() println(testVar)
No comments:
Post a Comment