diff options
Diffstat (limited to 'lib/rss/2.0.rb')
-rw-r--r-- | lib/rss/2.0.rb | 24 |
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) |