summaryrefslogtreecommitdiff
path: root/lib/rubygems/core_ext
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-23 21:59:35 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-23 22:01:44 +0900
commitb717f73402dc6f2d6ba6a1d72d9c8543a4f2cd27 (patch)
tree9d4a4c198aa124592552c66e2a3e6d130b6486eb /lib/rubygems/core_ext
parenta46841612c846f00f31ff63d886620d66cdea5b3 (diff)
Revert "Manually merged from https://github.com/rubygems/rubygems/pull/2636"
31a6eaabc165d8a222e176f2c809d90622d88ec2 is obsoleted with https://github.com/rubygems/rubygems/pull/3820
Diffstat (limited to 'lib/rubygems/core_ext')
-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 389f247..e030ef8 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|