summaryrefslogtreecommitdiff
path: root/lib/rubygems/server.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-07-13 12:01:07 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-07-31 21:07:19 +0900
commita89665b7b1abb5bb6005fd638dc920848cc50f72 (patch)
treef6c84f1bfb1148d203cd63c72c458de3a8f5e961 /lib/rubygems/server.rb
parenta6bfc951aa9c48e2a4608a9ae84e2e3b4fd9b390 (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/server.rb')
-rw-r--r--lib/rubygems/server.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/rubygems/server.rb b/lib/rubygems/server.rb
index caa36f5ca5..70ae44609a 100644
--- a/lib/rubygems/server.rb
+++ b/lib/rubygems/server.rb
@@ -29,7 +29,6 @@ require 'rubygems/rdoc'
# TODO Refactor into a real WEBrick servlet to remove code duplication.
class Gem::Server
-
attr_reader :spec_dirs
include ERB::Util
@@ -875,5 +874,4 @@ div.method-source-code pre { color: #ffdead; overflow: hidden; }
system("#{@launch} http://#{host}:#{@port}")
end
-
end