Stack.st
changeset 5146 ad165bc9291c
parent 4935 2044cf9f3790
--- a/Stack.st	Sun Aug 25 13:46:59 2019 +0200
+++ b/Stack.st	Sun Aug 25 14:52:12 2019 +0200
@@ -119,7 +119,8 @@
 !
 
 push: anObject 
-    "Push anObject onto the top of the stack."
+    "Push anObject onto the top of the stack.
+     Return the pushed object."
 
     ^ self add:anObject
 !