From 9385b6796af047cd1a7b4dd1fbe6fe7cbdf89f60 Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 3 Aug 2020 00:09:28 -0700 Subject: [PATCH] allow access to the input variable in the methodString --- Slots.sc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Slots.sc b/Slots.sc index a7f6158..78625c5 100644 --- a/Slots.sc +++ b/Slots.sc @@ -35,7 +35,7 @@ MethodSlot { Exception("Object of type % doesn't respond to %.".format(reciever.class, methodName)).throw; }; - ^"{ |reciever, object, changed, args| var value = args[0]; reciever.% }".format(methodString).interpret; + ^"{ |reciever, object, changed, args| var value = args[0]; var input = args[1]; reciever.% }".format(methodString).interpret; } update {