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/util | |
parent | a6bfc951aa9c48e2a4608a9ae84e2e3b4fd9b390 (diff) | |
download | ruby-a89665b7b1abb5bb6005fd638dc920848cc50f72.tar.gz |
Enforce no empty lines around class body in rubygems
To normalize the code style with `bundler`.
Diffstat (limited to 'lib/rubygems/util')
-rw-r--r-- | lib/rubygems/util/licenses.rb | 2 | ||||
-rw-r--r-- | lib/rubygems/util/list.rb | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/lib/rubygems/util/licenses.rb b/lib/rubygems/util/licenses.rb index 5b82667785..29bf310ea0 100644 --- a/lib/rubygems/util/licenses.rb +++ b/lib/rubygems/util/licenses.rb @@ -2,7 +2,6 @@ require 'rubygems/text' class Gem::Licenses - extend Gem::Text NONSTANDARD = 'Nonstandard'.freeze @@ -435,5 +434,4 @@ class Gem::Licenses return unless lowest < license.size by_distance[lowest] end - end diff --git a/lib/rubygems/util/list.rb b/lib/rubygems/util/list.rb index 7e4d6b5de6..33c40af4bb 100644 --- a/lib/rubygems/util/list.rb +++ b/lib/rubygems/util/list.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true module Gem class List - include Enumerable attr_accessor :value, :tail @@ -34,6 +33,5 @@ module Gem return List.new(value) unless list List.new value, list end - end end |