Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

new file for hierarchy related classes in AS core extensions

#3753

AS defines Class#descendents in core_ext/object/extending.rb, and Class#subclasses in core_ext/class/removal.rb.

This patch moves them to a new file core_ext/class/hierarchy.rb, and renames #descendents to #descendants, which is more conventional and matches the existing AbstractController::Base#descendants.

Reported by Xavier Noria · January 20th, 2010 @ 09:38 AM

State: duplicate
Milestone: none
Assigned to: Yehuda Katz (wycats) Yehuda Katz (wycats)
Importance: Low

Activity

  1. Xavier Noria
    Xavier Noria

    This is a duplicate of 3754.

    January 20th, 2010 @ 09:44 AM

  2. José Valim
    José Valim
    • State changed from new to duplicate

    January 20th, 2010 @ 12:18 PM