method

valid_email?

ruby latest stable - Class: Gem::Commands::CertCommand
valid_email?(email)
private

No documentation available.

# File lib/rubygems/commands/cert_command.rb, line 295
  def valid_email? email
    # It's simple, but is all we need
    email =~ /\A.+@.+\z/
  end