diff options
author | Josef Šimánek <josef.simanek@gmail.com> | 2023-03-24 21:00:40 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-28 15:25:44 +0900 |
commit | 9cfd8330ca875a60c057f97eafb151682dcc581b (patch) | |
tree | 93168ce2222486d5a39ff1a5ff913df680c43beb /lib/bundler/lazy_specification.rb | |
parent | 4d4743f7e35ea9d97cde10c9ca6fc35ac568bdb1 (diff) |
[rubygems/rubygems] Onboard Rubocop Naming/MemoizedInstanceVariableName rule to Bundler.
https://github.com/rubygems/rubygems/commit/d768be0c65
Diffstat (limited to 'lib/bundler/lazy_specification.rb')
-rw-r--r-- | lib/bundler/lazy_specification.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/lazy_specification.rb b/lib/bundler/lazy_specification.rb index ad8191c55f..c9b161dc0e 100644 --- a/lib/bundler/lazy_specification.rb +++ b/lib/bundler/lazy_specification.rb @@ -122,7 +122,7 @@ module Bundler end def to_s - @__to_s ||= if platform == Gem::Platform::RUBY + @to_s ||= if platform == Gem::Platform::RUBY "#{name} (#{version})" else "#{name} (#{version}-#{platform})" |