method
valid_email?
v2_6_3 -
Show latest stable
- Class:
Gem::Commands::CertCommand
valid_email?(email)private
No documentation available.
# File lib/rubygems/commands/cert_command.rb, line 317
def valid_email?(email)
# It's simple, but is all we need
email =~ /\A.+@.+\z/
end