Skip to content

Commit

Permalink
Explain safe_email method (faker-ruby#1833)
Browse files Browse the repository at this point in the history
  • Loading branch information
swrobel authored and michebble committed Feb 16, 2020
1 parent 12a5957 commit bd6d58a
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 bd6d58a

Please sign in to comment.