aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/README.md b/README.md
index e0c13bc..119214f 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ In your Gemfile, add the following:
gem 'postcodes-norway'
-The run `bundle install` as usual.
+Then run `bundle install` as usual.
Fetch the data:
@@ -33,15 +33,15 @@ Initialize the library:
Query for some postcodes:
- p = PostCodes.search(1326)
- puts p.city # => "LYSAKER"
- puts p.municipality_name # => "BÆRUM"
- puts p.county # => [2, "AKERSHUS"]
+ p1 = PostCodes.search(1326)
+ puts p1.city # => "LYSAKER"
+ puts p1.municipality_name # => "BÆRUM"
+ puts p1.county # => [2, "AKERSHUS"]
- p1 = PostCodes.search('0666')
- puts p1.city # => "OSLO"
- puts p1.municipality_name # => "OSLO"
- puts p1.county # => [3, "OSLO"]
+ p2 = PostCodes.search('0666')
+ puts p2.city # => "OSLO"
+ puts p2.municipality_name # => "OSLO"
+ puts p2.county # => [3, "OSLO"]
Contributing