Skip to content

Commit

Permalink
add scheme documentation for Faker::Internet.url
Browse files Browse the repository at this point in the history
Following faker-ruby#747, this adds the missing documentation for the
scheme in Faker::Internet.url
  • Loading branch information
fakenine committed Feb 21, 2018
1 parent 679fd50 commit b121323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/internet.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Faker::Internet.ip_v6_cidr #=> "ac5f:d696:3807:1d72:2eb5:4e81:7d2b:e1df/78"
Faker::Internet.mac_address #=> "e6:0d:00:11:ed:4f"
Faker::Internet.mac_address('55:44:33') #=> "55:44:33:02:1d:9b"

# Optional arguments: host=domain_name, path="/#{user_name}"
# Optional arguments: host=domain_name, path="/#{user_name}", scheme=scheme
Faker::Internet.url #=> "http://thiel.com/chauncey_simonis"
Faker::Internet.url('example.com') #=> "http://example.com/clotilde.swift"
Faker::Internet.url('example.com', '/foobar.html') #=> "http://example.com/foobar.html"
Expand Down

0 comments on commit b121323

Please # to comment.