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/ruby_version.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/ruby_version.rb')
-rw-r--r-- | lib/bundler/ruby_version.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/ruby_version.rb b/lib/bundler/ruby_version.rb index b6bd24e41c..b5396abb6e 100644 --- a/lib/bundler/ruby_version.rb +++ b/lib/bundler/ruby_version.rb @@ -107,7 +107,7 @@ module Bundler ruby_engine_version = RUBY_ENGINE == "ruby" ? ruby_version : RUBY_ENGINE_VERSION.dup patchlevel = RUBY_PATCHLEVEL.to_s - @ruby_version ||= RubyVersion.new(ruby_version, patchlevel, ruby_engine, ruby_engine_version) + @system ||= RubyVersion.new(ruby_version, patchlevel, ruby_engine, ruby_engine_version) end private |