You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@kgilpin Hi, thank you for letting me know the background and possible approaches.
I feel like the first approach (explicit list with caveat emptor) helps us a lot if it supports glob patterns based on source_location etc. since my app has a lot of call methods defined.
And with existing or new test programs, I hope we can mitigate the possible interference.
It looks that we globally ignore methods named
call
here.When we want to hook methods named
call
in our application Ruby classes (./app
or./lib
in our case), is there any proper way to do this?Currently, I'm working around it with a monkey patch like this:
But I think there must be a better way to do this.
The text was updated successfully, but these errors were encountered: