The Trunk: Kernel-mtf.389.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Kernel-mtf.389.mcz

commits-2
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
+
+  !