Project

General

Profile

Actions

Backport #8903

closed

Please backport r42541 (undef Module#prepend_features on Class)

Added by kachick (Kenichi Kamiya) over 10 years ago. Updated over 10 years ago.


Description

r42541

Class should undefine Module#prepend_features as Module#append_features.

Updated by nagachika (Tomoyuki Chikanaga) over 10 years ago

  • Status changed from Open to Assigned

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

Actions #2

Updated by nagachika (Tomoyuki Chikanaga) over 10 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.
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0