yyyc514-syndication 0.6.1.1 → 0.6.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/syndication/atom.rb +4 -6
- metadata +1 -1
data/lib/syndication/atom.rb
CHANGED
@@ -222,11 +222,11 @@ module Syndication
|
|
222
222
|
end
|
223
223
|
|
224
224
|
def store(tag, obj)
|
225
|
-
puts "[obj:#{tag}]"
|
225
|
+
#puts "[obj:#{tag}]"
|
226
226
|
end
|
227
227
|
|
228
228
|
def tag_start(tag, attrs = nil)
|
229
|
-
puts "[tag:#{tag}]"
|
229
|
+
#puts "[tag:#{tag}]"
|
230
230
|
attrlist = ""
|
231
231
|
if attrs
|
232
232
|
for a in attrs.keys
|
@@ -242,9 +242,7 @@ module Syndication
|
|
242
242
|
end
|
243
243
|
|
244
244
|
def tag_end(endtag, current)
|
245
|
-
|
246
|
-
puts "[@tag:#{@tag}]"
|
247
|
-
if @tag = endtag
|
245
|
+
if @tag == endtag
|
248
246
|
return @parent
|
249
247
|
end
|
250
248
|
@xml += "</#{endtag}>"
|
@@ -252,7 +250,7 @@ module Syndication
|
|
252
250
|
end
|
253
251
|
|
254
252
|
def text(s)
|
255
|
-
puts "[text:#{s}]"
|
253
|
+
#puts "[text:#{s}]"
|
256
254
|
@xml += s
|
257
255
|
end
|
258
256
|
|