Backport #8903

Please backport r42541 (undef Module#prepend_features on Class)

Added by Kenichi Kamiya 7 months ago. Updated 7 months ago.

[ruby-core:57165]
Status:Closed
Priority:Low
Assignee:Tomoyuki Chikanaga

Description

r42541

Class should undefine Module#prependfeatures as Module#appendfeatures.

Associated revisions

Revision 42936
Added by Tomoyuki Chikanaga 7 months ago

merge revision(s) 42541: [Backport #8903]

* object.c (Init_Object): undef Module#prepend_features on Class, as
  well as Module#append_features.  [Fixes GH-376]

* test_class.rb: Added test for above. And ensure type checking
  on similar methods as module_function.

History

#1 Updated by Tomoyuki Chikanaga 7 months ago

  • Status changed from Open to Assigned

Thank you for your notice.
I'll backport it.

#2 Updated by Tomoyuki Chikanaga 7 months ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r42936.
Kenichi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


merge revision(s) 42541: [Backport #8903]

* object.c (Init_Object): undef Module#prepend_features on Class, as
  well as Module#append_features.  [Fixes GH-376]

* test_class.rb: Added test for above. And ensure type checking
  on similar methods as module_function.

#3 Updated by Kenichi Kamiya 7 months ago

Thank you!

Also available in: Atom PDF