Status: Accepted
Owner:
[hidden email]
Labels: Milestone-1.3
New issue 3665 by
[hidden email]: asStringOrText should invoke
asString
http://code.google.com/p/pharo/issues/detail?id=3665to be discussed
#asStringOrText should return the receiver #asString, not printString.
This is the correct behavior to be able to render first-class objects in
PluggableListMorphs without quotes around them.
=============== Diff against Kernel-ul.540 ===============
Item was changed:
----- Method: Object>>asStringOrText (in category 'converting') -----
asStringOrText
"Answer a string that represents the receiver."
+ ^ self asString!
-
- ^ self printString !