google_movies47 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/google_movies47/parser.rb +1 -3
- data/lib/google_movies47/version.rb +1 -1
- metadata +1 -1
@@ -21,7 +21,6 @@ module GoogleMovies47
|
|
21
21
|
)
|
22
22
|
|
23
23
|
@theaters = []
|
24
|
-
y = 0
|
25
24
|
theater_elements.each do |t|
|
26
25
|
theater_name = t.search(".//h2[@class='name']/a/text()").text
|
27
26
|
theater_info = t.search(".//div[@class='info']/text()").text
|
@@ -47,8 +46,7 @@ module GoogleMovies47
|
|
47
46
|
x = x + 1
|
48
47
|
end
|
49
48
|
|
50
|
-
@theaters
|
51
|
-
y = y + 1
|
49
|
+
@theaters << { :name => theater_name, :info => theater_info, :movies => showtimes }
|
52
50
|
end
|
53
51
|
|
54
52
|
end
|