mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix Pry deprecation warning on tab-completion
Same thing as #37100, but [pry also calls `#respond_to?` on the target object](fa97d5c299/lib/pry/input_completer.rb (L194)
).
Fixes #37097 for Pry users.
This commit is contained in:
parent
ee6518137c
commit
8fe649a4dc
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ module ActiveSupport
|
||||||
|
|
||||||
# Don't give a deprecation warning on methods that IRB may invoke
|
# Don't give a deprecation warning on methods that IRB may invoke
|
||||||
# during tab-completion.
|
# during tab-completion.
|
||||||
delegate :hash, :instance_methods, :name, to: :target
|
delegate :hash, :instance_methods, :name, :respond_to?, to: :target
|
||||||
|
|
||||||
# Returns the class of the new constant.
|
# Returns the class of the new constant.
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue