summaryrefslogtreecommitdiff
path: root/lib/rubygems/basic_specification.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2023-03-16 13:28:31 +0900
committerHiroshi SHIBATA <[email protected]>2023-03-17 18:50:55 +0900
commit03b82d1865db32da8d69e91881675d9d6153872f ()
treeee0831a7e200d4949d0ec4581881e005fd998635 /lib/rubygems/basic_specification.rb
parentd2cebb4e31b95b2bd02e5dec1c990c28f0f83bf4 (diff)
[rubygems/rubygems] util/rubocop -A --only Style/SingleLineMethods
https://.com/rubygems/rubygems/commit/fa2e835ed2
-rw-r--r--lib/rubygems/basic_specification.rb8
1 files changed, 6 insertions, 2 deletions
@@ -323,11 +323,15 @@ class Gem::BasicSpecification
raise NotImplementedError
end
- def this; self; end
private
- def have_extensions?; !extensions.empty?; end
def have_file?(file, suffixes)
return true if raw_require_paths.any? do |path|