Method: ActiveSupport::DescendantsTracker.disable_clear!

Defined in:
activesupport/lib/active_support/descendants_tracker.rb

.disable_clear!Object

:nodoc:


69
70
71
72
73
74
75
76
# File 'activesupport/lib/active_support/descendants_tracker.rb', line 69

def disable_clear! # :nodoc:
  unless @clear_disabled
    @clear_disabled = true
    ReloadedClassesFiltering.remove_method(:subclasses)
    ReloadedClassesFiltering.remove_method(:descendants)
    @excluded_descendants = nil
  end
end