Skip to content

Commit

Permalink
docs: improve README example (nurugger07#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
glenwinters authored Mar 15, 2020
1 parent 2e359c2 commit 5a95d81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ To incorporate Inflex in your modules, use `import`.

``` elixir

defmodule YourModule do
defmodule Blog do
import Inflex

def make_singular(word), do: singularize(word)
def greeting(count), do: "You are the #{ordinalize(count)} visitor!"

end

Expand Down

0 comments on commit 5a95d81

Please sign in to comment.