Re: [Pharo-users] Adding method to class

2014-07-18 Thread Mark Rizun
#(accessing). >>>> model changes execute. >>>> >>>> and the new method is recorded in the .changes file >>>> >>>> Cheers, >>>> >>>> Hernán >>>> >>>> >>>> >>>> 2014-07-17

Re: [Pharo-users] Adding method to class

2014-07-18 Thread Esteban Lorenzano
e. >>> >>> and the new method is recorded in the .changes file >>> >>> Cheers, >>> >>> Hernán >>> >>> >>> >>> 2014-07-17 11:08 GMT-03:00 Mark Rizun : >>> Thank you all. Problem is solv

Re: [Pharo-users] Adding method to class

2014-07-18 Thread Guillermo Polito
RBAddMethodRefactoring. >>>> >>>> Mark >>>> >>>> >>>> 2014-07-17 16:07 GMT+02:00 Baptiste Quide : >>>> >>>> I think you have to add a "RGMethodDefinition" or a "CompiledMethod". >>>>> Obvious

Re: [Pharo-users] Adding method to class

2014-07-17 Thread Ben Coman
...@gmail.com> À: "Any question about pharo is welcome" <pharo-users@lists.pharo.org> Envoyé: Jeudi 17 Juillet 2014 16:03:52 Objet: Re: [Pharo-users] Adding method to class

Re: [Pharo-users] Adding method to class

2014-07-17 Thread Hernán Morales Durand
Mark >>> >>> >>> 2014-07-17 16:07 GMT+02:00 Baptiste Quide : >>> >>> I think you have to add a "RGMethodDefinition" or a "CompiledMethod". >>>> Obviously in a class methodDict the values are CompiledMethod. >>>> >>>> Regards

Re: [Pharo-users] Adding method to class

2014-07-17 Thread Esteban Lorenzano
you have to add a "RGMethodDefinition" or a "CompiledMethod". > Obviously in a class methodDict the values are CompiledMethod. > > Regards, > > De: "Sebastian Tleye" > À: "Any question about pharo is welcome" > Envoyé: Jeudi 17 J

Re: [Pharo-users] Adding method to class

2014-07-17 Thread Mark Rizun
alues are CompiledMethod. >>> >>> Regards, >>> >>> ------ >>> >>> *De: *"Sebastian Tleye" >>> *À: *"Any question about pharo is welcome" >>> *Envoyé: *Jeudi 17 Juillet 2014 16:03:52

Re: [Pharo-users] Adding method to class

2014-07-17 Thread Hernán Morales Durand
d". >> Obviously in a class methodDict the values are CompiledMethod. >> >> Regards, >> >> -- >> >> *De: *"Sebastian Tleye" >> *À: *"Any question about pharo is welcome" >> *Envoyé: *Jeudi 17 J

Re: [Pharo-users] Adding method to class

2014-07-17 Thread Mark Rizun
ompiledMethod. > > Regards, > > -- > > *De: *"Sebastian Tleye" > *À: *"Any question about pharo is welcome" > *Envoyé: *Jeudi 17 Juillet 2014 16:03:52 > *Objet: *Re: [Pharo-users] Adding method to class > > > I don't know what RBM

Re: [Pharo-users] Adding method to class

2014-07-17 Thread Baptiste Quide
nvoyé: Jeudi 17 Juillet 2014 16:03:52 > Objet: Re: [Pharo-users] Adding method to class > I don't know what RBMethod is, but you can do > aClass compile: source. > For example: > Array compile: 'newMethod ^ 1' > I don't know if it answers your questi

Re: [Pharo-users] Adding method to class

2014-07-17 Thread Sebastian Tleye
I don't know what RBMethod is, but you can do aClass compile: source. For example: Array compile: 'newMethod ^ 1' I don't know if it answers your question. Regards 2014-07-17 15:57 GMT+02:00 Mark Rizun : > P.S. obviously, my method is added to newMethods var, but it is not > disblayed in

Re: [Pharo-users] Adding method to class

2014-07-17 Thread Mark Rizun
P.S. obviously, my method is added to newMethods var, but it is not disblayed in my class. 2014-07-17 15:53 GMT+02:00 Mark Rizun : > Hi guys! > > How can I add method (I have /RBMethod/) to a class in code? > I'm asking because existing method /addMethod:/ in /RBAbstractClass/ isn't > working. >

[Pharo-users] Adding method to class

2014-07-17 Thread Mark Rizun
Hi guys! How can I add method (I have /RBMethod/) to a class in code? I'm asking because existing method /addMethod:/ in /RBAbstractClass/ isn't working. Here is a piece of my code: /method:= RBMethod for: class source: ('^ ', newName asString) selector: newName asSymbol. class addMethod: