method

accumulate_descendants

Importance_0
v5.2.3 - 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 41
      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.