FoneFinder 1.0.1 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/FoneFinderTest.rb +1 -1
- data/lib/FoneFinder.rb +2 -0
- metadata +2 -2
data/bin/FoneFinderTest.rb
CHANGED
data/lib/FoneFinder.rb
CHANGED
@@ -74,8 +74,10 @@ class FoneFinder
|
|
74
74
|
start = html.index(start)
|
75
75
|
if (start == nil)
|
76
76
|
puts "Error invalid query"
|
77
|
+
@invalid = true
|
77
78
|
return
|
78
79
|
end
|
80
|
+
@invalid = false
|
79
81
|
startAreaIndex = html.index("<A HREF='findareacode")
|
80
82
|
html = html[startAreaIndex, html.size - startAreaIndex]
|
81
83
|
start = "cityname="
|