From d988e8bb07a56b4e7f3b83f6c57cb1f552569838 Mon Sep 17 00:00:00 2001 From: Neeraj Singh Date: Wed, 12 May 2010 17:30:13 -0400 Subject: [PATCH] removing dead code from dependencies.rb [#4586 state:resolved] --- activesupport/lib/active_support/dependencies.rb | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/activesupport/lib/active_support/dependencies.rb b/activesupport/lib/active_support/dependencies.rb index 9c4412c..b8b534d 100644 --- a/activesupport/lib/active_support/dependencies.rb +++ b/activesupport/lib/active_support/dependencies.rb @@ -488,12 +488,6 @@ module ActiveSupport #:nodoc: return autoloaded_constants.include?(name) end - # Will the provided constant descriptor be unloaded? - def will_unload?(const_desc) - autoloaded?(const_desc) || - explicitly_unloadable_constants.include?(to_constant_name(const_desc)) - end - # Mark the provided constant name for unloading. This constant will be # unloaded on each request, not just the next one. def mark_for_unload(const_desc) -- 1.6.5.2