Class: RSS::Maker::RSS20::Items::Item::Authors

Inherits:
RSS::Maker::RSS09::Items::Item::Authors show all
Defined in:
lib/rss/maker/2.0.rb

Defined Under Namespace

Classes: Author

Instance Method Summary collapse

Instance Method Details

#to_feed(rss, item) ⇒ Object



203
204
205
206
# 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