Skip to content

Instantly share code, notes, and snippets.

@jschoch
Created June 17, 2013 17:18
Show Gist options
  • Save jschoch/5798511 to your computer and use it in GitHub Desktop.
Save jschoch/5798511 to your computer and use it in GitHub Desktop.
def patterns do
{status,list} = :application.get_env(:elgrok, :patterns)
if status == :ok do
list
else
[]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment