Sha256: fb50818229b3acdcddb60e0ebfa785980fd09d8547e1300b1db123d0a42877b4
Contents?: true
Size: 147 Bytes
Versions: 3
Compression:
Stored size: 147 Bytes
Contents
# frozen_string_literal: true module EmailTypo AddMissingPeriod = lambda do |email| email.gsub(/([^.])(com|org|net)$/, "\\1.\\2") end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
email_typo-0.2.3 | lib/email_typo/add_missing_period.rb |
email_typo-0.2.2 | lib/email_typo/add_missing_period.rb |
email_typo-0.2.1 | lib/email_typo/add_missing_period.rb |