aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/module
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2019-01-15 17:21:19 -0500
committerRafael Mendonça França <rafaelmfranca@gmail.com>2019-01-17 16:08:34 -0500
commit6eb1d56a333fd2015610d31793ed6281acd66551 (patch)
treee0be225b000d0446cd9385343ef0ff4bd8718559 /activesupport/lib/active_support/core_ext/module
parent0ce67d3cd6d1b7b9576b07fecae3dd5b422a5689 (diff)
downloadrails-6eb1d56a333fd2015610d31793ed6281acd66551.tar.gz
rails-6eb1d56a333fd2015610d31793ed6281acd66551.tar.bz2
rails-6eb1d56a333fd2015610d31793ed6281acd66551.zip
Remove deprecated `Module#reachable?` method
Diffstat (limited to 'activesupport/lib/active_support/core_ext/module')
-rw-r--r--activesupport/lib/active_support/core_ext/module/reachable.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/activesupport/lib/active_support/core_ext/module/reachable.rb b/activesupport/lib/active_support/core_ext/module/reachable.rb
index e9cbda5245..2020f5204c 100644
--- a/activesupport/lib/active_support/core_ext/module/reachable.rb
+++ b/activesupport/lib/active_support/core_ext/module/reachable.rb
@@ -3,9 +3,4 @@
require "active_support/core_ext/module/anonymous"
require "active_support/core_ext/string/inflections"
-class Module
- def reachable? #:nodoc:
- !anonymous? && name.safe_constantize.equal?(self)
- end
- deprecate :reachable?
-end
+ActiveSupport::Deprecation.warn("reachable is deprecated and will be removed from the framework.")