Created
January 16, 2016 22:41
-
-
Save altitude/6539381671ee5135864b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case File.read '/tmp/foo.txt' do | |
{:ok, content} -> IO.puts content | |
{:error, error} -> IO.inspect error | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment