diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2015-02-02 14:05:43 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2015-02-02 14:05:43 +0100 |
commit | 743dadd3f7cfabd9d0dbaebff3b4f07d32c5f1ef (patch) | |
tree | 81aa67fdfa382acd9bfce046d9f84c82dfdfdae9 | |
parent | 0d0a9a1d85e5a9f62cbe0ae07167604f7867e9b5 (diff) | |
download | postcodes-norway-743dadd3f7cfabd9d0dbaebff3b4f07d32c5f1ef.tar.gz postcodes-norway-743dadd3f7cfabd9d0dbaebff3b4f07d32c5f1ef.tar.bz2 postcodes-norway-743dadd3f7cfabd9d0dbaebff3b4f07d32c5f1ef.zip |
Fix typos in readme.
-rw-r--r-- | README.md | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -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 |