From c32ccd837ee37272b5b7abee6afec40cb45491ed Mon Sep 17 00:00:00 2001 From: Andrew White Date: Sun, 13 Nov 2016 22:28:18 +0000 Subject: Remove deprecated local_constants --- activesupport/lib/active_support/core_ext/module/introspection.rb | 8 -------- 1 file changed, 8 deletions(-) (limited to 'activesupport/lib/active_support/core_ext/module/introspection.rb') diff --git a/activesupport/lib/active_support/core_ext/module/introspection.rb b/activesupport/lib/active_support/core_ext/module/introspection.rb index 4f854a718b..0665aa88bc 100644 --- a/activesupport/lib/active_support/core_ext/module/introspection.rb +++ b/activesupport/lib/active_support/core_ext/module/introspection.rb @@ -55,12 +55,4 @@ class Module parents << Object unless parents.include? Object parents end - - def local_constants #:nodoc: - ActiveSupport::Deprecation.warn(<<-MSG.squish) - Module#local_constants is deprecated and will be removed in Rails 5.1. - Use Module#constants(false) instead. - MSG - constants(false) - end end -- cgit v1.2.3