method

accumulate_descendants

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: ActiveSupport::DescendantsTracker
accumulate_descendants(klass, acc) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/descendants_tracker.rb, line 39
      def accumulate_descendants(klass, acc)
        if direct_descendants = @@direct_descendants[klass]
          acc.concat(direct_descendants)
          direct_descendants.each { |direct_descendant| accumulate_descendants(direct_descendant, acc) }
        end
      end
Register or log in to add new notes.