ActiveSupport::DescendantsTracker

module ActiveSupport::DescendantsTracker

This module provides an internal implementation to track descendants which is faster than iterating through ObjectSpace.

Public Class Methods

clear() Show source
# File activesupport/lib/active_support/descendants_tracker.rb, line 18
def clear
  if defined? ActiveSupport::Dependencies
    @@direct_descendants.each do |klass, descendants|
      if ActiveSupport: