Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Obsessive quote fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorcoran committed Oct 29, 2013
1 parent 34931c5 commit e58296b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ All data copyright © 2008 MaxMind Inc.
Countries are identified by their [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) codes.

```ruby
cities = City.cities_in_country("GB")
cities = City.cities_in_country('GB')
#=> { "abberley"=> #<City:0x000001049b9ba0>, "abberton"=> #<City:0x000001049b9b50>, ... }

mcr = cities["manchester"]
mcr = cities['manchester']
#=> #<City:0x00000102fb4ea8>

mcr.name
Expand All @@ -43,7 +43,7 @@ mcr.latlong
The database is exhaustive and certainly stretches the definition of the word "city".

```ruby
City.cities_in_country("GB")["buchlyvie"].population
City.cities_in_country('GB')['buchlyvie'].population
#=> 448
```

Expand All @@ -58,7 +58,7 @@ $ gem install countries
Search for cities through a Country:

```ruby
us = Country.search("US")
us = Country.search('US')
#=> #<Country:0x000001020cf5f0>

us.cities
Expand Down

0 comments on commit e58296b

Please sign in to comment.