#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Fri, 10 Mar 2017 00:23:00 +0100
changeset 3940 d5fb7f7790eb
parent 3939 a64b6880178b
child 3941 dd9237d3a727
#DOCUMENTATION by cg class: Plug comment/format in: #documentation
Plug.st
--- a/Plug.st	Tue Mar 07 07:31:05 2017 +0100
+++ b/Plug.st	Fri Mar 10 00:23:00 2017 +0100
@@ -9,8 +9,9 @@
  other person.  No title to or ownership of the software is
  hereby transferred.
 "
+"{ Package: 'stx:libview2' }"
 
-"{ Package: 'stx:libview2' }"
+"{ NameSpace: Smalltalk }"
 
 Model subclass:#Plug
 	instanceVariableNames:'simulatedProtocol inheritedClasses'
@@ -52,6 +53,11 @@
     There is a slight performance penalty - compared to `normal' objects,
     getting `normal' messages, though.
 
+    [caveat:]
+        The name 'plug' was chosen because instances can be 'plugged' in anywhere.
+        That name was invented way before the name 'mock' became popular;
+        nowadays, it would probably be called 'PluggableMock'...
+        
     [author:]
         Claus Gittinger
 
@@ -341,5 +347,6 @@
 !Plug class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/Plug.st,v 1.23 2006-02-14 11:08:47 cg Exp $'
+    ^ '$Header$'
 ! !
+