Skip to content

Commit

Permalink
update @doc example for Quotes.random_by_tag #4
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Oct 17, 2019
1 parent 3954763 commit 468f099
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/quotes.ex
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,10 @@ defmodule Quotes do
e.g:
```elixir
iex> Quotes.random_by_tag("time")
%{
"author" => "Peter Drucker",
"source" => "https://www.goodreads.com/quotes/784267",
"tags" => "time, management",
"text" => "Until we can manage time, we can manage nothing else."
"author" => "Leo Tolstoy",
"text" => "The two most powerful warriors are patience and time."
}
```
"""
Expand Down

0 comments on commit 468f099

Please sign in to comment.