Forum Discussion

cvback66's avatar
cvback66
New Contributor
2 years ago

Groovy Script Library - Problem creating class from working script

I am making a class in a Groovy Script Library.  The original script which works fine: random = new Random() Date randomDate(Range<Date> range) { def res = range.from + random.nextInt(range.to - ...