mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Remove unnecessary use of Kernel#silence_warnings
This commit is contained in:
@@ -119,9 +119,7 @@ module ActiveSupport
|
||||
end
|
||||
|
||||
class DeprecationProxy #:nodoc:
|
||||
silence_warnings do
|
||||
instance_methods.each { |m| undef_method m unless m =~ /^__/ }
|
||||
end
|
||||
instance_methods.each { |m| undef_method m unless m =~ /^__/ }
|
||||
|
||||
# Don't give a deprecation warning on inspect since test/unit and error
|
||||
# logs rely on it for diagnostics.
|
||||
|
||||
Reference in New Issue
Block a user