Sha256: 5ea5741dc1683a99a5ae509bddf967c0f4882b988b906fe3cd10c399d8358137

Contents?: true

Size: 117 Bytes

Versions: 1

Compression:

Stored size: 117 Bytes

Contents

module Vxod
  class Email
    def self.valid?(email)
      email =~ /\A[^@]+@([^@\.]+\.)+[^@\.]+\z/
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vxod-0.0.2 lib/vxod/email.rb