diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-09-17 02:20:02 +0300 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-09-17 02:20:02 +0300 |
commit | 9e4827a8ae40de50503c530b8cfd0a0789e27956 (patch) | |
tree | fbbcdbf0df9ab00691c806a2da6857e933ef4e1f /activesupport/lib/active_support | |
parent | f8e4c837c765891311e1a6dac7e555526c9c283e (diff) | |
download | rails-9e4827a8ae40de50503c530b8cfd0a0789e27956.tar.gz rails-9e4827a8ae40de50503c530b8cfd0a0789e27956.tar.bz2 rails-9e4827a8ae40de50503c530b8cfd0a0789e27956.zip |
Deprecate `Module#reachable?` method
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/core_ext/module/reachable.rb | 1 |
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 |