method
accumulate_descendants
rails latest stable - Class:
ActiveSupport::DescendantsTracker
accumulate_descendants(klass, acc)private
No documentation available.
# 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