Login  Register

Re: About file printOn: method

Posted by stepharo on Sep 04, 2016; 7:46am
URL: https://forum.world.st/About-file-printOn-method-tp4913939p4914009.html

It is raining and I will do it :)


stef


Le 4/9/16 à 02:38, monty a écrit :

> +1
>
>> Sent: Saturday, September 03, 2016 at 10:39 AM
>> From: stepharo <[hidden email]>
>> To: "Pharo Development List" <[hidden email]>
>> Subject: [Pharo-dev] About file printOn: method
>>
>> Hi
>>
>>
>> I will implement the following because this is too annoying.
>>
>> currently
>>
>> 'tmp/foo.txt' asFileReference
>>   >
>> File @ tmp/foo.txt
>>
>> and it would be much much better to get back
>> 'tmp/foo.txt' asFileReference
>>
>> So that we can get
>> { 'tmp/foo.txt' asFileReference }
>>   > { 'tmp/foo.txt' asFileReference }
>>
>> and not
>>    "an Array(File @ tmp/foo.txt)"
>>
>>
>> In addition we should turn the current printOn: method into a
>> displayString method so that
>> a list of fileReference can be well display with File @ tmp/foo.txt for
>> example
>>
>>
>> https://pharo.fogbugz.com/f/cases/18956
>>
>>
>>
>