Pablo I would not use talents.

You can use an anonymous classes.


Have a look at the chapter of

https://ci.inria.fr/pharo-contribution/view/Books/job/BuildingLanguageKernels/4/artifact/build/book.pdf



Thanks Denis, I will take a look . I think this is what  i need.

Tia

Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
Dividato SA       25 de Mayo 521
San Miguel de Tucumán
Email: pdigonze...@softsargentina.com
pdigonze...@gmail.com
Cel: 5493815982714

De: "Denis Kudriashov" <dionisi...@gmail.com>
Para: "Any question about pharo is welcome" <pharo-users@lists.pharo.org>
Enviados: Viernes, 3 de Marzo 2017 10:11:53
Asunto: Re: [Pharo-users] adding messages dinamically to a single instance object

Hi.
Look at project Talents https://github.com/tesonep/pharo-talents.
Idea is to implement behaviour (also with state) in normal way with classes and then dynamically install it to any existing objects

2017-03-03 14:07 GMT+01:00 Pablo R. Digonzelli <pdigonze...@gmail.com>:
Hi all. I need to know how can i do if i want add new behaviour ( a new method ) to a single instance object of a class.It means not to add new selector to the class but i want a single instance responds that mesage. Where can i read about it?
Tia

Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
Dividato SA       25 de Mayo 521
San Miguel de Tucumán
Email: pdigonze...@softsargentina.com
pdigonze...@gmail.com
Cel: 5493815982714




--
Using Opera's mail client: http://www.opera.com/mail/

Reply via email to