Sha256: 764824e8a472fa29e70eb63f045642b6a8a21155d09f79b83c80fb6d7bf282fe

Contents?: true

Size: 194 Bytes

Versions: 4

Compression:

Stored size: 194 Bytes

Contents

# frozen_string_literal: true

module EmailTypo
  DifferentTlds = lambda do |email|
    email
      .gsub(/\.(o\.uk|couk|co\.um)$/, ".co.uk")
      .gsub(/\.(cojp|co\.lp)$/, ".co.jp")
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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