diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-07-01 21:50:40 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-07-01 21:50:40 +0100 |
commit | abf821dffc053ec953d1c45529cb63a75914c451 (patch) | |
tree | a4d349d10fe45291dbdaf0f3a442ad7d6ff82eef /scripts/toy.groovy | |
parent | pause time can be non-whole seconds (diff) | |
download | toy-abf821dffc053ec953d1c45529cb63a75914c451.zip |
No writes to parent vars from metaClass methods
Diffstat (limited to 'scripts/toy.groovy')
-rw-r--r-- | scripts/toy.groovy | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy index 4c487e6..295e500 100644 --- a/scripts/toy.groovy +++ b/scripts/toy.groovy @@ -300,6 +300,7 @@ return new Object() { adjustPunish(5); return false; }; + def setSessionAbort = { String r = null -> sessionAborted = r }; final activityList = [:]; final addActivity = { String name, func -> |