Skip to content

Commit

Permalink
adds more documentation on documentation #21
Browse files Browse the repository at this point in the history
  • Loading branch information
jackcarlisle committed Feb 10, 2017
1 parent f1d221e commit 9f8bd8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -630,6 +630,8 @@ load takes filename and returns a list of animals if the file exists
iex> Animals.load("my_animals")
["lion", "tiger", "gorilla", "elephant", "monkey", "giraffe"]
iex> Animals.load("aglkjhdfg")
"File does not exist"
"""
def load(filename) do
Expand Down
2 changes: 2 additions & 0 deletions examples/animals/animals.ex
Expand Up @@ -84,6 +84,8 @@ defmodule Animals do
iex> Animals.load("my_animals")
["lion", "tiger", "gorilla", "elephant", "monkey", "giraffe"]
iex> Animals.load("aglkjhdfg")
"File does not exist"
"""
def load(filename) do
Expand Down

0 comments on commit 9f8bd8f

Please sign in to comment.