PATH: //opt/alt/ruby33/share/rubygems/rubygems/commands
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 build_command.rb
↓
X
📄 cert_command.rb
↓
X
📄 check_command.rb
↓
X
📄 cleanup_command.rb
↓
X
📄 contents_command.rb
↓
X
📄 dependency_command.rb
↓
X
📄 environment_command.rb
↓
X
📄 exec_command.rb
↓
X
📄 fetch_command.rb
↓
X
📄 generate_index_command.rb
↓
X
📄 help_command.rb
↓
X
📄 info_command.rb
↓
X
📄 install_command.rb
↓
X
📄 list_command.rb
↓
X
📄 lock_command.rb
↓
X
📄 mirror_command.rb
↓
X
📄 open_command.rb
↓
X
📄 outdated_command.rb
↓
X
📄 owner_command.rb
↓
X
📄 pristine_command.rb
↓
X
📄 push_command.rb
↓
X
📄 query_command.rb
↓
X
📄 rdoc_command.rb
↓
X
📄 rebuild_command.rb
↓
X
📄 search_command.rb
↓
X
📄 server_command.rb
↓
X
📄 setup_command.rb
↓
X
📄 signin_command.rb
↓
X
📄 signout_command.rb
↓
X
📄 sources_command.rb
↓
X
📄 specification_command.rb
↓
X
📄 stale_command.rb
↓
X
📄 uninstall_command.rb
↓
X
📄 unpack_command.rb
↓
X
📄 update_command.rb
↓
X
📄 which_command.rb
↓
X
📄 yank_command.rb
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: signout_command.rb
# frozen_string_literal: true require_relative "../command" class Gem::Commands::SignoutCommand < Gem::Command def initialize super "signout", "Sign out from all the current sessions." end def description # :nodoc: "The `signout` command is used to sign out from all current sessions,"\ " allowing you to sign in using a different set of credentials." end def usage # :nodoc: program_name end def execute credentials_path = Gem.configuration.credentials_path if !File.exist?(credentials_path) alert_error "You are not currently signed in." elsif !File.writable?(credentials_path) alert_error "File '#{Gem.configuration.credentials_path}' is read-only."\ " Please make sure it is writable." else Gem.configuration.unset_api_key! say "You have successfully signed out from all sessions." end end end
SIMPAN PERUBAHAN