summaryrefslogtreecommitdiff
path: root/lib/rubygems/ext/ext_conf_builder.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2020-07-13 12:01:07 +0200
committerHiroshi SHIBATA <[email protected]>2020-07-31 21:07:19 +0900
commita89665b7b1abb5bb6005fd638dc920848cc50f72 ()
treef6c84f1bfb1148d203cd63c72c458de3a8f5e961 /lib/rubygems/ext/ext_conf_builder.rb
parenta6bfc951aa9c48e2a4608a9ae84e2e3b4fd9b390 (diff)
Enforce no empty lines around class body in rubygems
To normalize the code style with `bundler`.
Notes: Merged: https://.com/ruby/ruby/pull/3379
-rw-r--r--lib/rubygems/ext/ext_conf_builder.rb2
1 files changed, 0 insertions, 2 deletions
@@ -8,7 +8,6 @@
require 'shellwords'
class Gem::Ext::ExtConfBuilder < Gem::Ext::Builder
-
def self.build(extension, dest_path, results, args=[], lib_dir=nil)
require 'fileutils'
require 'tempfile'
@@ -92,5 +91,4 @@ class Gem::Ext::ExtConfBuilder < Gem::Ext::Builder
path[0..Dir.pwd.length - 1] = '.' if path.start_with?(Dir.pwd)
path
end
-
end