# HG changeset patch # User Claus Gittinger # Date 1478273619 -3600 # Node ID 73e7da80f87ca1ac5fe8a4a85322e6f1dae17bd5 # Parent a41b7287512400b7f3a1415256f814723f0938b2 #DOCUMENTATION by cg class: Behavior comment/format in: #implements: diff -r a41b72875124 -r 73e7da80f87c Behavior.st --- a/Behavior.st Fri Nov 04 16:32:26 2016 +0100 +++ b/Behavior.st Fri Nov 04 16:33:39 2016 +0100 @@ -4780,14 +4780,14 @@ This is semantically equivalent to includesSelector: (which is ST/80/Squeak compatibility). Caveat: - This simply checks for the selector being present in the classes - selector table - therefore, it does not care for ignoredMethods. - (but: you should not use this method for protocol-testing, anyway). + This simply checks for the selector being present in the classes + selector table - therefore, it does not care for ignoredMethods. + (but: you should not use this method for protocol-testing, anyway). Hint: - Dont use this method to check if someone responds to a message - - use #canUnderstand: on the class or #respondsTo: on the instance - to do this." + Don't use this method to check if someone responds to a message - + use #canUnderstand: on the class or #respondsTo: on the instance + to do this." ^ self includesSelector:aSelector