Commit 3038d60
committed
Disable attribute setting call cache when
Ruby uses call cache for attribute setting, which means that the `ivar_set`
event is only fired on the first call by default.
By disabling the call cache, the `ivar_set` event is fired on every call.
This is similar to the behavior of `call` and `return` events.ivar_set event is enabled1 parent a1972e7 commit 3038d60
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4760 | 4760 | | |
4761 | 4761 | | |
4762 | 4762 | | |
4763 | | - | |
| 4763 | + | |
| 4764 | + | |
| 4765 | + | |
| 4766 | + | |
4764 | 4767 | | |
4765 | 4768 | | |
4766 | 4769 | | |
| |||
4780 | 4783 | | |
4781 | 4784 | | |
4782 | 4785 | | |
4783 | | - | |
| 4786 | + | |
| 4787 | + | |
| 4788 | + | |
| 4789 | + | |
4784 | 4790 | | |
4785 | 4791 | | |
4786 | 4792 | | |
| |||
0 commit comments