class RSS::Maker::RSS20::Items::Item::Source::Links

Public Instance Methods

to_feed(rss, source) click to toggle source
# File lib/rss/maker/2.0.rb, line 164
  def to_feed(rss, source)
    return if @links.empty?
    @links.first.to_feed(rss, source)
  end

  class Link < RSS09::Items::Item::Source::Links::Link
    def to_feed(rss, source)
      source.url = href
    end
  end
end