method

accumulate_descendants

Importance_0
v7.0.0 - 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 146
          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.