Re: String representation of Class
Posted by
Sven Van Caekenberghe-2 on
Nov 12, 2014; 8:28am
URL: https://forum.world.st/String-representation-of-Class-tp4789773p4789779.html
String streamContents: [ :out | Association fileOutOn: out ]
I am not sure it covers everything, but for some script methods this will do.
> On 12 Nov 2014, at 09:21, Hilaire <
[hidden email]> wrote:
>
> Le 12/11/2014 09:08,
[hidden email] a écrit :
>>> Is it possible to export a whole class as a string, then import it back
>>> from a string representation to a class?
>>
>> Isn't that a fileOut/fileIn thing?
>>
>
> Yes, however I don't want it on a .st file (to avoid possible trouble on
> the end user DrGeo installation) but on a string within Smalltalk.
>
> Hilaire
>
>
>
> --
> Dr. Geo -
http://drgeo.eu> iStoa -
http://istoa.drgeo.eu>
>