Le 10 déc. 2010 à 18:46, Stéphane Ducasse a écrit :
>> Do you think #= is needed for Url ? (ie. do I open an issue ?)
>
> yes.
ok, I'll do that
> Now I do not understand why you need to convert to text.
> printString should be enough.
true... :)
Do I add
Url >> hash
self printstring hash
>
>
>>
>> if yes, is the following proposition enough ?
>> or should it be more precise according to each subclass ?
>>
>> See you
>>
>>
>>>
>>> 'http://www.pharo-project.org' asUrl = 'http://www.pharo-project.org'
>>> asUrl. => false
>>>
>>> What about having:
>>>
>>> Url>> = anotherUrl
>>>
>>> ^self asText = anotherUrl asText
>>>
>>> Do we need to redefine hash too ?
>>>
>>> TIA
>>>
>>> Cédrick
>>>
>>
>>
>
>