instance method
descendants
Ruby on Rails 7.2.3
Since v3.0.20Signature
descendants()
No documentation comment.
Source
# File activesupport/lib/active_support/descendants_tracker.rb, line 107
def descendants
subclasses = DescendantsTracker.reject!(self.subclasses)
subclasses.concat(subclasses.flat_map(&:descendants))
end
Defined in activesupport/lib/active_support/descendants_tracker.rb line 107
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::DescendantsTracker