summaryrefslogtreecommitdiff
path: root/lib/rubygems/installer.rb
diff options
context:
space:
mode:
authorJosef Šimánek <[email protected]>2023-03-24 20:41:46 +0100
committerHiroshi SHIBATA <[email protected]>2023-03-28 15:27:35 +0900
commit1cbb5011274399527c26eb3c6dd98c7947140f83 ()
treea08228826d485d03d6aa6386d9dbfecf4ed4f385 /lib/rubygems/installer.rb
parent2322b189b6ac650199f09895dd9870fc0466d492 (diff)
Onboard Rubocop Naming/MemoizedInstanceVariableName rule to RubyGems.
-rw-r--r--lib/rubygems/installer.rb2
1 files changed, 1 insertions, 1 deletions
@@ -387,7 +387,7 @@ class Gem::Installer
# we'll be installing into.
def installed_specs
- @specs ||= begin
specs = []
Gem::Util.glob_files_in_dir("*.gemspec", File.join(gem_home, "specifications")).each do |path|