module DescendantsTracker
Ruby on Rails 5.2.8.1
Since v3.0.20This module provides an internal implementation to track descendants which is faster than iterating through ObjectSpace.
Methods (defined here)
- # descendants
- # direct_descendants
- # inherited
- self. clear
- self. descendants
- self. direct_descendants
- self. store_inherited
Private methods
(1)
Implementation detail — not part of the public API.
- self. accumulate_descendants