Sha256: b79dc90f79acc5265a6bf512f014d9f24dda9a9340e557b13b35be4ee62935cb

Contents?: true

Size: 162 Bytes

Versions: 7

Compression:

Stored size: 162 Bytes

Contents

# frozen_string_literal: true

module EmailTypo
  AddMissingM = lambda do |email|
    email.gsub(/(aol|googlemail|gmail|hotmail|yahoo).co$/, "\\1.com")
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
email_typo-0.2.3 lib/email_typo/add_missing_m.rb
email_typo-0.2.2 lib/email_typo/add_missing_m.rb
email_typo-0.2.1 lib/email_typo/add_missing_m.rb
email_typo-0.2.0 lib/email_typo/add_missing_m.rb
email_typo-0.1.2 lib/email_typo/add_missing_m.rb
email_typo-0.1.1 lib/email_typo/add_missing_m.rb
email_typo-0.1.0 lib/email_typo/add_missing_m.rb