[Pkg] The Trunk: Kernel-mtf.389.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Mar 2 03:32:57 UTC 2010


Matthew Fulmer uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-mtf.389.mcz

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

Name: Kernel-mtf.389
Author: mtf
Time: 4 February 2010, 7:44:03.918 pm
UUID: 6a4c765f-eddf-4ff3-963b-98ca79013299
Ancestors: Kernel-nice.387

7219: Improve Streams Usage Readability
http://bugs.squeak.org/view.php?id=7219

Adds << to streams to be mostly like nextPutAll, but uses putOn: so that it works with any object.

=============== Diff against Kernel-nice.387 ===============

Item was added:
+ ----- Method: Magnitude>>putOn: (in category 'streaming') -----
+ putOn: aStream
+ 
+ 	(aStream isBinary ifTrue: [ self asByteArray ] ifFalse: [ self asString]) putOn: aStream
+ 	
+  !



More information about the Packages mailing list