instance method
Gem::Commands::CertCommand#valid_email?
valid_email?(email)
lib/rubygems/commands/cert_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/commands/cert_command.rb, line 321
def valid_email?(email)
# It's simple, but is all we need
email =~ /\A.+@.+\z/
end
No documentation available