method
cleanup!
v7.0.0 -
Show latest stable
- Class:
ActiveSupport::DescendantsTracker::DescendantsArray
cleanup!()public
No documentation available.
# File activesupport/lib/active_support/descendants_tracker.rb, line 207
def cleanup!
@refs.delete_if { |ref| !ref.weakref_alive? }
end