Re: [Pharo-users] Calling an arbitrary method

2014-05-26 Thread Sean P. DeNigris
camille teruel wrote instance perform: filterMethod asSymbol instance perform: filterMessage asSymbol ;) - Cheers, Sean -- View this message in context: http://forum.world.st/Calling-an-arbitrary-method-tp4760058p4760380.html Sent from the Pharo Smalltalk Users mailing list archive at

[Pharo-users] Calling an arbitrary method

2014-05-22 Thread sergio_101
In many cases, an object might have a method (filter, selector, etc) attached to it so that the object can run the correct method.. for instance, an object might have a filterMethod variable with a value 'filterByArtist'.. in ruby, i would do something like: instance.send(filter_method) how

Re: [Pharo-users] Calling an arbitrary method

2014-05-22 Thread Camille Teruel
On 22 mai 2014, at 19:46, sergio_101 sergio@gmail.com wrote: In many cases, an object might have a method (filter, selector, etc) attached to it so that the object can run the correct method.. for instance, an object might have a filterMethod variable with a value 'filterByArtist'..