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

Public Instance Methods

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

  class Author < RSS09::Items::Item::Authors::Author
    def to_feed(rss, item)
      item.author = name
    end
  end
end