未验证 提交 cb823c12 编写于 作者: K Kasper Timm Hansen 提交者: GitHub

Merge pull request #37100 from jonathanhefner/fix-irb-tab-completion-warning

Fix IRB deprecation warning on tab-completion
......@@ -145,6 +145,10 @@ def inspect
target.inspect
end
# Don't give a deprecation warning on methods that IRB may invoke
# during tab-completion.
delegate :hash, :instance_methods, to: :target
# Returns the class of the new constant.
#
# PLANETS_POST_2006 = %w(mercury venus earth mars jupiter saturn uranus neptune)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册