Am 23.10.2016 9:22 vorm. schrieb "Yuriy Tymchuk" <yuriy.tymchuk@me.com>:
Iâve also described the question with examples on SO:
https://stackoverflow.com/questions/40200546/conditionally-skip-a-method-wit...
Answered on SO. @marcus: Maybe instead links should continue with the original code, if their condition does not hold?
On 22 Oct 2016, at 23:13, Yuriy Tymchuk <yuriy.tymchuk@me.com> wrote:
Hi.
Imagine I have method a: and I want to skip the execution (return self or nil or whatever) when a: is evaluated with parameter 0. I have tried to add a meta link which will run instead of the method with a condition, but the condition did not work⦠I have tried to implement the metallic method to do nothing if the arg is 0 otherwise to perform the method, but I end up with an infinite loopâ¦
Did anybody do something like that already? Any suggestions?
Uko