#DOCUMENTATION
authorClaus Gittinger <cg@exept.de>
Tue, 27 Oct 2015 16:01:29 +0100
changeset 18832 885cfb29ed7c
parent 18831 86e8f2bd201b
child 18833 60ea69618028
#DOCUMENTATION class: MeasurementValue comment/format in: #coerce: #generality
MeasurementValue.st
--- a/MeasurementValue.st	Tue Oct 27 16:00:46 2015 +0100
+++ b/MeasurementValue.st	Tue Oct 27 16:01:29 2015 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 2007 by eXept Software AG
               All Rights Reserved
@@ -11,6 +13,8 @@
 "
 "{ Package: 'stx:libbasic' }"
 
+"{ NameSpace: Smalltalk }"
+
 Number subclass:#MeasurementValue
 	instanceVariableNames:'value minValue maxValue'
 	classVariableNames:'MeasurementValueZero'
@@ -238,7 +242,7 @@
 !
 
 coerce:aNumber
-    "convert the argument aNumber into an instance of the receivers class and return it."
+    "convert the argument aNumber into an instance of the receiver's class and return it."
 
     ^ MeasurementValue value:aNumber minValue:aNumber maxValue:aNumber
 !
@@ -246,7 +250,7 @@
 generality
     "return the generality value - see ArithmeticValue>>retry:coercing:"
 
-    "/ adding 1 to the values generality has the subtle side effect of enforcing 
+    "/ adding 1 to the value's generality has the subtle side effect of enforcing 
     "/ a call to coerce: for mixed type operations (i.e. Int * MeasurementValue).
     "/ try it.
 
@@ -384,6 +388,6 @@
 !MeasurementValue class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/MeasurementValue.st,v 1.13 2014-03-24 11:14:37 stefan Exp $'
+    ^ '$Header$'
 ! !