From a6194b0646d67c655580f0787d3ac0431ede7766 Mon Sep 17 00:00:00 2001
From: Anatoly Makarevich
Date: Mon, 3 Sep 2012 12:54:13 +0400
Subject: [PATCH] FIX typos and comment style
---
README.rdoc | 16 ++++++++--------
doc/files/README_rdoc.html | 16 ++++++++--------
2 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/README.rdoc b/README.rdoc
index 5f5dcf3..c6cbe19 100644
--- a/README.rdoc
+++ b/README.rdoc
@@ -15,18 +15,18 @@ Weatherman is very easy to use. Just search for a city woeid in the Yahoo! Weath
url: http://weather.yahoo.com/search
client = Weatherman::Client.new
- reponse = client.lookup_by_woeid 455821
+ response = client.lookup_by_woeid 455821
- respose.location['city'] => "Belo Horizonte"
- response.location['country'] => "Brazil"
- response.condition['date'] => #
+ response.location['city'] # => "Belo Horizonte"
+ response.location['country'] # => "Brazil"
+ response.condition['date'] # => #
- ptbr_client = Weatherman::Client.new :lang => 'pt-br'
- reponse = ptbr_client.lookup_by_woeid 455821
+ ptbr_client = Weatherman::Client.new :lang # => 'pt-br'
+ response = ptbr_client.lookup_by_woeid 455821
- response.condition['text'] => "Parcialmente Nublado"
- response.condition['country'] => "Brasil"
+ response.condition['text'] # => "Parcialmente Nublado"
+ response.condition['country'] # => "Brasil"
== Contributors
diff --git a/doc/files/README_rdoc.html b/doc/files/README_rdoc.html
index 2f05348..b830e28 100644
--- a/doc/files/README_rdoc.html
+++ b/doc/files/README_rdoc.html
@@ -99,17 +99,17 @@ Example
client = Weatherman::Client.new
- reponse = client.lookup_by_woeid 455821
+ response = client.lookup_by_woeid 455821
- respose.location['city'] => "Belo Horizonte"
- response.location['country'] => "Brazil"
- response.condition['date'] => #<Date: -1/2,0,2299161>
+ response.location['city'] # => "Belo Horizonte"
+ response.location['country'] # => "Brazil"
+ response.condition['date'] # => #<Date: -1/2,0,2299161>
- ptbr_client = Weatherman::Client.new :lang => 'pt-br'
- reponse = ptbr_client.lookup_by_woeid 455821
+ ptbr_client = Weatherman::Client.new :lang # => 'pt-br'
+ response = ptbr_client.lookup_by_woeid 455821
- response.condition['text'] => "Parcialmente Nublado"
- response.condition['country'] => "Brasil"
+ response.condition['text'] # => "Parcialmente Nublado"
+ response.condition['country'] # => "Brasil"
License