aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/module
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2017-09-17 02:20:02 +0300
committerbogdanvlviv <bogdanvlviv@gmail.com>2017-09-17 02:20:02 +0300
commit9e4827a8ae40de50503c530b8cfd0a0789e27956 (patch)
treefbbcdbf0df9ab00691c806a2da6857e933ef4e1f /activesupport/lib/active_support/core_ext/module
parentf8e4c837c765891311e1a6dac7e555526c9c283e (diff)
downloadrails-9e4827a8ae40de50503c530b8cfd0a0789e27956.tar.gz
rails-9e4827a8ae40de50503c530b8cfd0a0789e27956.tar.bz2
rails-9e4827a8ae40de50503c530b8cfd0a0789e27956.zip
Deprecate `Module#reachable?` method
Diffstat (limited to 'activesupport/lib/active_support/core_ext/module')
-rw-r--r--activesupport/lib/active_support/core_ext/module/reachable.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/core_ext/module/reachable.rb b/activesupport/lib/active_support/core_ext/module/reachable.rb
index 91b230b46c..790a3cc561 100644
--- a/activesupport/lib/active_support/core_ext/module/reachable.rb
+++ b/activesupport/lib/active_support/core_ext/module/reachable.rb
@@ -7,4 +7,5 @@ class Module
def reachable? #:nodoc:
!anonymous? && name.safe_constantize.equal?(self)
end
+ deprecate :reachable?
end