Skip to content

Commit

Permalink
fix Util.join docs (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Kapkov authored Jul 18, 2017
1 parent d099bd1 commit 925e4c0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/faker/util.ex
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ defmodule Faker.Util do
## Examples
join(3, &)
date_of_birth(1) #=> ~D[2015-12-06]
date_of_birth(10..19) #=> ~D[2004-05-15]
join(3, ", ", &Faker.Code.isbn13/0) # => "9785053574562, 9787187574302, 9798231475230"
"""
@spec join(integer, binary, ((integer) -> binary)) :: binary
def join(n, joiner \\ "", fun) do
Expand Down

0 comments on commit 925e4c0

Please sign in to comment.