Sha256: a19d391b63146abd94f026d62658c02c7438826b8a4f25dd747448430e975a95

Contents?: true

Size: 148 Bytes

Versions: 4

Compression:

Stored size: 148 Bytes

Contents

# frozen_string_literal: true

module EmailTypo
  AddMissingPeriod = lambda do |email|
    email.gsub(/([^\.])(com|org|net)$/, "\\1.\\2")
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
email_typo-0.2.0 lib/email_typo/add_missing_period.rb
email_typo-0.1.2 lib/email_typo/add_missing_period.rb
email_typo-0.1.1 lib/email_typo/add_missing_period.rb
email_typo-0.1.0 lib/email_typo/add_missing_period.rb