Project

General

Profile

Backport #8903

Please backport r42541 (undef Module#prepend_features on Class)

Added by Kenichi Kamiya almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
[ruby-core:57165]

Description

r42541

Class should undefine Module#prepend_features as Module#append_features.

Associated revisions

Revision 42936
Added by Tomoyuki Chikanaga almost 3 years 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 [ruby-core:57177] Updated by Tomoyuki Chikanaga almost 3 years ago

  • Status changed from Open to Assigned

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

#2 Updated by Tomoyuki Chikanaga almost 3 years 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.

Also available in: Atom PDF