method
disable_clear!
v7.1.3.2 -
Show latest stable
- Class:
ActiveSupport::DescendantsTracker
disable_clear!()public
No documentation available.
# File activesupport/lib/active_support/descendants_tracker.rb, line 70
def disable_clear! # :nodoc:
unless @clear_disabled
@clear_disabled = true
ReloadedClassesFiltering.remove_method(:subclasses)
ReloadedClassesFiltering.remove_method(:descendants)
@excluded_descendants = nil
end
end