diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-20 12:20:13 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-20 12:20:13 +0000 |
commit | 7625cd5cfb3ea4609db79a1ee959f7186fa8b535 (patch) | |
tree | 143100697def896d9ea0e6aff3264c5adfb34b54 /lib/rss/1.0.rb | |
parent | df1e494a136dc507b36e90edbaffdeb611ab8923 (diff) |
* lib/rss/rss.rb: provided default RSS::Element#children.
* lib/rss/0.9.rb: used default RSS::Element#children.
* lib/rss/1.0.rb: ditto.
* lib/rss/2.0.rb: ditto.
* lib/rss/taxonomy.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rss/1.0.rb')
-rw-r--r-- | lib/rss/1.0.rb | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/lib/rss/1.0.rb b/lib/rss/1.0.rb index 03d118a444..a945434fbf 100644 --- a/lib/rss/1.0.rb +++ b/lib/rss/1.0.rb @@ -55,11 +55,6 @@ module RSS tag_name_with_prefix(PREFIX) end - private - def children - [@channel, @image, @textinput, *@item] - end - class Li < Element include RSS10 @@ -125,11 +120,6 @@ module RSS target << li.resource end end - - private - def children - @li - end end class Bag < Element @@ -167,11 +157,6 @@ module RSS target << li.resource end end - - private - def children - @li - end end class Channel < Element @@ -214,10 +199,6 @@ module RSS end private - def children - [@image, @items, @textinput] - end - def maker_target(maker) maker.channel end @@ -320,11 +301,6 @@ module RSS [] end end - - private - def children - [@Seq] - end end end |