summaryrefslogtreecommitdiff
path: root/include/ruby/ruby.h
diff options
context:
space:
mode:
authorJonathan Hefner <jonathan@hefner.pro>2022-10-11 12:02:15 -0500
committergit <svn-admin@ruby-lang.org>2022-10-15 00:08:44 +0900
commit60610031009e60bdfe5775b0316df251ee36a973 (patch)
tree9c9c2e8f77186cf2e30ea32431037bb00e52984c /include/ruby/ruby.h
parentd4162053410782a449e0921ee7222e7ce3deca6f (diff)
[ruby/delegate] Fix DelegateClass block "method redefined" warning
This commit prevents "method redefined" warnings when overriding methods within a `DelegateClass` block, such as in the following example: ```ruby Base = Class.new do def foo "foo" end end Overridden = DelegateClass(Base) do def foo super + "!" end end ``` Fixes https://bugs.ruby-lang.org/issues/19047. https://github.com/ruby/delegate/commit/214fae86de
Diffstat (limited to 'include/ruby/ruby.h')
0 files changed, 0 insertions, 0 deletions