123456789_123456789_123456789_123456789_123456789_

Class: RSS::Maker::RSS20::Channel::Categories::Category

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: RSS::Maker::RSS09::Channel::Categories::Category
Defined in: lib/rss/maker/2.0.rb

Instance Method Summary

Instance Method Details

#required_variable_names (private)

[ GitHub ]

  
# File 'lib/rss/maker/2.0.rb', line 68

def required_variable_names
  %w(content)
end

#to_feed(rss, channel)

[ GitHub ]

  
# File 'lib/rss/maker/2.0.rb', line 57

def to_feed(rss, channel)
  category = Rss::Channel::Category.new
  set = setup_values(category)
  if set
    channel.categories << category
    set_parent(category, channel)
    setup_other_elements(rss, category)
  end
end