#messagesDo: (VW compatibility)
authorClaus Gittinger <cg@exept.de>
Sun, 03 Sep 2000 18:48:42 +0200
changeset 5584 b175797a8c4d
parent 5583 cc4611ba71a1
child 5585 07e5f922567e
#messagesDo: (VW compatibility)
Method.st
--- a/Method.st	Sun Sep 03 17:43:26 2000 +0200
+++ b/Method.st	Sun Sep 03 18:48:42 2000 +0200
@@ -2070,6 +2070,13 @@
     "Created: 19.6.1997 / 16:26:13 / cg"
 !
 
+messagesDo:aBlock
+    "evaluate aBlock for each message-selector sent by this method.
+     Uses Parser to parse methods source and extract the names."
+
+    ^ self messagesSent do:aBlock
+!
+
 messagesSent
     "return a collection with the message selectors sent to by the receiver.
      Uses Parser to parse methods source and extract the names.
@@ -2751,6 +2758,6 @@
 !Method class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Method.st,v 1.205 2000-09-03 15:14:56 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Method.st,v 1.206 2000-09-03 16:48:42 cg Exp $'
 ! !
 Method initialize!