From 56a17e0e5953b88a07960e41dbf48719426d7acd Mon Sep 17 00:00:00 2001 From: Pharmhaus-2 Date: Fri, 22 Aug 2014 18:53:37 +0200 Subject: [PATCH] Reset Method for List Enumerator --- modules/monkey/list.monkey | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/monkey/list.monkey b/modules/monkey/list.monkey index 2ec00a9e..e270f02f 100644 --- a/modules/monkey/list.monkey +++ b/modules/monkey/list.monkey @@ -340,6 +340,10 @@ Class Enumerator Return data End + Method Reset:Void() + _curr = _list._head._succ + End + Private Field _list:List