instance method
Gem::ConfigFile#last_update_check
last_update_check
lib/rubygems/config_file.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/config_file.rb, line 417
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