Skip to content

Commit

Permalink
Explain safe_email method (#1833)
Browse files Browse the repository at this point in the history
  • Loading branch information
swrobel authored and vbrazo committed Nov 14, 2019
1 parent dd13a53 commit d0337df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/default/internet.md
Expand Up @@ -11,6 +11,7 @@ Faker::Internet.email(domain: 'example.com') #=> alice@example.com"
Faker::Internet.free_email #=> "freddy@gmail.com"
Faker::Internet.free_email(name: 'Nancy') #=> "nancy@yahoo.com"

# Generates an RFC 2606 compliant fake email, which means it will never deliver successfully
# Keyword arguments: name
Faker::Internet.safe_email #=> "christelle@example.org"
Faker::Internet.safe_email(name: 'Nancy') #=> "nancy@example.net"
Expand Down

0 comments on commit d0337df

Please sign in to comment.