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

In Files

  • rss/maker/feed.rb

Class/Module Index [+]

Quicksearch

RSS::Maker::Atom::Feed::Items::Item::Source

Public Instance Methods

to_feed(feed, current) click to toggle source
 
               # File rss/maker/feed.rb, line 238
def to_feed(feed, current)
  source = current.class::Source.new
  setup_values(source)
  current.source = source
  set_parent(source, current)
  setup_other_elements(feed, source)
  current.source = nil if source.to_s == "<source/>"
end