summaryrefslogtreecommitdiff
path: root/scripts/toy.groovy
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-07-01 21:50:40 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2019-07-01 21:50:40 +0100
commitabf821dffc053ec953d1c45529cb63a75914c451 (patch)
treea4d349d10fe45291dbdaf0f3a442ad7d6ff82eef /scripts/toy.groovy
parentpause time can be non-whole seconds (diff)
downloadtoy-abf821dffc053ec953d1c45529cb63a75914c451.zip
No writes to parent vars from metaClass methods
Diffstat (limited to 'scripts/toy.groovy')
-rw-r--r--scripts/toy.groovy1
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 ->