Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::ConfigFile#last_update_check=
last_update_check=(timestamp)
lib/rubygems/config_file.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems/config_file.rb, line 426
def last_update_check=(timestamp)
File.write(state_file_name, timestamp.to_s) if state_file_writable?
end
Writes time of last update check to state file
See also
#last_update_check
#load_api_keys
#handle_arguments
#load_file
also in
4.1 · 4.0 · 3.3 · 3.2