Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more

In Files

  • rss/maker/atom.rb

Methods

Class/Module Index [+]

Quicksearch

RSS::Maker::AtomLink

Public Instance Methods

to_feed(feed, current) click to toggle source
 
               # File rss/maker/atom.rb, line 108
def to_feed(feed, current)
  link = feed.class::Link.new
  set = setup_values(link)
  if set
    current.links << link
    set_parent(link, current)
    setup_other_elements(feed)
  else
    raise NotSetError.new(self.class.not_set_name,
                          not_set_required_variables)
  end
end