diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-07-13 12:01:07 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-07-31 21:07:19 +0900 |
commit | a89665b7b1abb5bb6005fd638dc920848cc50f72 (patch) | |
tree | f6c84f1bfb1148d203cd63c72c458de3a8f5e961 /lib/rubygems/core_ext | |
parent | a6bfc951aa9c48e2a4608a9ae84e2e3b4fd9b390 (diff) |
Enforce no empty lines around class body in rubygems
To normalize the code style with `bundler`.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3379
Diffstat (limited to 'lib/rubygems/core_ext')
-rw-r--r-- | lib/rubygems/core_ext/kernel_warn.rb | 2 |
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 dfc577df0b..8b73902d3b 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| |