End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::ConfigFile#last_update_check
last_update_check
lib/rubygems/config_file.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/config_file.rb, line 399
def last_update_check
if File.readable?(state_file_name)
File.read(state_file_name).to_i
else
0
end
end
Reads time of last update check from state file