From 0cc7c68b908d24180e68bd8c34bc9f72e3e84cb9 Mon Sep 17 00:00:00 2001 From: Sebastian Szturo Date: Sun, 1 Feb 2015 23:03:42 +0900 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bff0ad5..9943ce3 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Add countries as a dependency in your ```mix.exs``` file. ```Elixir def deps do - [ { :countries, "~> 1.0" } ] + [{ :countries, "~> 1.0" }] end ``` @@ -22,7 +22,7 @@ Find country by attribute. ```Elixir country = Countries.filter_by(:alpha2, "DE") # [%Countries.Country{alpha2: 'DE', alpha3: 'DEU', continent: 'Europe', -# country_code: '49', currency: 'EUR', ...] +# country_code: '49', currency: 'EUR', ...] countries = Countries.filter_by(:region, "Europe") Enum.count(countries)