# HG changeset patch # User Stefan Vogel # Date 1443701922 -7200 # Node ID db3ea237afc8acac9a9a46966c30ab1b53f09f0c # Parent 8396ad12d7ba84d4c7fe9bf8a455b44369e40335 #FEATURE class: Registry added: #size diff -r 8396ad12d7ba -r db3ea237afc8 Registry.st --- a/Registry.st Thu Oct 01 12:15:20 2015 +0200 +++ b/Registry.st Thu Oct 01 14:18:42 2015 +0200 @@ -1,5 +1,3 @@ -"{ Encoding: utf8 }" - " COPYRIGHT (c) 1993 by Claus Gittinger All Rights Reserved @@ -280,6 +278,12 @@ isEmpty ^ tally == 0 +! + +size + "answer the number of entries in the registry" + + ^ tally ! ! !Registry methodsFor:'registering objects'!