summaryrefslogtreecommitdiff
path: root/lib/rubygems/stub_specification.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2023-03-16 12:00:41 +0900
committerHiroshi SHIBATA <[email protected]>2023-03-17 18:50:55 +0900
commit4b285e5c6fe690c89ce71e9d68d87976ef2d65e1 (patch)
treeb2896cd9f6b820cee7c1a050068484a003e66fc0 /lib/rubygems/stub_specification.rb
parent9ffd73523db3c80237bd26099c9e11f9f6e3a444 (diff)
[rubygems/rubygems] util/rubocop -A --only Layout/AssignmentIndentation
https://github.com/rubygems/rubygems/commit/8e64298989
Diffstat (limited to 'lib/rubygems/stub_specification.rb')
-rw-r--r--lib/rubygems/stub_specification.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/rubygems/stub_specification.rb b/lib/rubygems/stub_specification.rb
index d87abdd993..4682cc94fd 100644
--- a/lib/rubygems/stub_specification.rb
+++ b/lib/rubygems/stub_specification.rb
@@ -84,10 +84,10 @@ class Gem::StubSpecification < Gem::BasicSpecification
def activated?
@activated ||=
- begin
- loaded = Gem.loaded_specs[name]
- loaded && loaded.version == version
- end
+ begin
+ loaded = Gem.loaded_specs[name]
+ loaded && loaded.version == version
+ end
end
def default_gem?