Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::Commands::PushCommand#attestation_supported_host?
attestation_supported_host?
lib/rubygems/commands/push_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/commands/push_command.rb, line 269
def attestation_supported_host?
host = (@host || Gem.host).to_s.chomp("/")
host == Gem::DEFAULT_HOST
end
No documentation available