Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix user defined mthod add hooks #710

Merged
merged 3 commits into from
Jul 11, 2022
Merged

Conversation

ko1
Copy link
Collaborator

@ko1 ko1 commented Jul 11, 2022

  • fix typo and add a test
  • trap BasicObject#singleton_method_added

ko1 added 2 commits July 12, 2022 03:59
`BasicObject#singleton_method_added` is correct method.
Now there is no way to track `singleton_method_added`,
so users need to call `super' in `singleton_method_added`.
@ko1 ko1 added this to the v1.6.1 milestone Jul 11, 2022
`exe/rdbg:25: warning: `**' interpreted as argument prefix`

with `RUBYOPT=-w`
@ko1 ko1 merged commit dae6901 into master Jul 11, 2022
@ko1 ko1 deleted the fix_user_defined_mthod_add_hooks branch July 11, 2022 19:45
@ko1 ko1 mentioned this pull request Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant