Support for the Ruby 2.4 series has ended. See here for reference.

In Files

  • rss/maker/0.9.rb

Class/Module Index [+]

Quicksearch

RSS::Maker::RSS09::Items::Item

Public Instance Methods

to_feed(rss) click to toggle source
 
               # File rss/maker/0.9.rb, line 259
def to_feed(rss)
  item = Rss::Channel::Item.new
  setup_values(item)
  _not_set_required_variables = not_set_required_variables
  if _not_set_required_variables.empty?
    rss.items << item
    set_parent(item, rss.channel)
    setup_other_elements(rss, item)
  elsif variable_is_set?
    raise NotSetError.new("maker.items", _not_set_required_variables)
  end
end