Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Sam introduced the "use" keyword but I'd like to have a somewhat more permanent ways because "use" is quite noisy in scripts and can get overused quite easily.
I quickly developed a simple way to add methods just like the DefaultGroovyMethods does. Its not perfect cause it requires a system property but it works quite nicely.
See patch&testcase here:
http://lists.codehaus.org/pipermail/groovy-dev/2004q2/002055.html