[Pharo-dev] Shortcut for programmatically executing a class side method ?

Sven Van Caekenberghe sven at stfx.eu
Sun Jan 13 16:41:54 EST 2019


Hi,

Does there exist a shortcut for programmatically executing a class side method ?

For example,

String class>>#loremIpsum in: [ :method | 
  method methodClass instanceSide perform: method selector ].

I was looking for a shortcut, like #eval, #execute, #value or something like that.

(String class>>#loremIpsum) eval.

Sven


More information about the Pharo-dev mailing list