summaryrefslogtreecommitdiff
path: root/lib/rubygems/core_ext/kernel_warn.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems/core_ext/kernel_warn.rb')
-rw-r--r--lib/rubygems/core_ext/kernel_warn.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/rubygems/core_ext/kernel_warn.rb b/lib/rubygems/core_ext/kernel_warn.rb
index dfc577d..8b73902 100644
--- a/lib/rubygems/core_ext/kernel_warn.rb
+++ b/lib/rubygems/core_ext/kernel_warn.rb
@@ -11,9 +11,7 @@ if RUBY_VERSION >= "2.5"
remove_method :warn
class << self
-
remove_method :warn
-
end
module_function define_method(:warn) {|*messages, **kw|