[Pkg] The Trunk: Kernel-cmm.806.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Sep 16 22:39:33 UTC 2013


Chris Muller uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-cmm.806.mcz

==================== Summary ====================

Name: Kernel-cmm.806
Author: cmm
Time: 16 September 2013, 5:38:39.489 pm
UUID: 431dea93-aeff-4997-88d1-427e09f9375a
Ancestors: Kernel-fbs.805

Magnitude>>#inRangeOf:and: is a more-forgiving version of #between:and:.

=============== Diff against Kernel-fbs.805 ===============

Item was added:
+ ----- Method: Magnitude>>inRangeOf:and: (in category 'comparing') -----
+ inRangeOf: first and: second 
+ 	"Answer whether the receiver is in the range between first and second, even if first is > second."
+ 	^ first < second
+ 		ifTrue:
+ 			[ self
+ 				between: first
+ 				and: second ]
+ 		ifFalse:
+ 			[ self
+ 				between: second
+ 				and: first ]!



More information about the Packages mailing list