summaryrefslogtreecommitdiff
path: root/lib/rss/2.0.rb
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-20 12:06:52 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-20 12:06:52 +0000
commitdf1e494a136dc507b36e90edbaffdeb611ab8923 (patch)
tree4e93ad2100a27a46c2261e17916981aa0afec34d /lib/rss/2.0.rb
parent028e6396c043119448afce67ebf8f3aafc96e27e (diff)
* lib/rss/rss.rb: provided default RSS::Element#_tags.
* lib/rss/0.9.rb: used default RSS::Element#_tags. * lib/rss/1.0.rb: ditto. * lib/rss/2.0.rb: ditto. * lib/rss/image.rb: ditto. * lib/rss/taxonomy.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rss/2.0.rb')
-rw-r--r--lib/rss/2.0.rb24
1 files changed, 0 insertions, 24 deletions
diff --git a/lib/rss/2.0.rb b/lib/rss/2.0.rb
index 24cfb7c6e5..398aa0845a 100644
--- a/lib/rss/2.0.rb
+++ b/lib/rss/2.0.rb
@@ -32,21 +32,6 @@ module RSS
children09 + @category.compact
end
- alias _tags09 _tags
- def _tags
- rv = %w(generator ttl).delete_if do |name|
- __send__(name).nil?
- end.collect do |elem|
- ["", elem]
- end + _tags09
-
- @category.each do
- rv << ["", "category"]
- end
-
- rv
- end
-
Category = Item::Category
class Item
@@ -78,15 +63,6 @@ module RSS
children09 + [@guid].compact
end
- alias _tags09 _tags
- def _tags
- %w(comments author pubDate guid).delete_if do |name|
- __send__(name).nil?
- end.collect do |elem|
- ["", elem]
- end + _tags09
- end
-
alias _setup_maker_element setup_maker_element
def setup_maker_element(item)
_setup_maker_element(item)