I could not see any method to remove a variable from memory in Groovy shell... is this possible? How do I do this? I can see methods for doings this in Beanshell and Javascript(Rhino) but not in Groovy.
groovy beginner- how to remove a variable from memory in groovy shell
6.7k views Asked by Arvind At
1
I believe you can do:
Or, if you want to remove all variables, then
should work as well