method

accumulate_descendants

Importance_0
v6.1.7.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 45
        def accumulate_descendants(klass, acc)
          if direct_descendants = @@direct_descendants[klass]
            direct_descendants.each do |direct_descendant|
              acc << direct_descendant
              accumulate_descendants(direct_descendant, acc)
            end
          end
        end
Register or log in to add new notes.