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

Inherits:
RSS09::Items::Item::Authors
  • Object
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



202
203
204
205
# File 'lib/rss/maker/2.0.rb', line 202

def to_feed(rss, item)
  return if @authors.empty?
  @authors.first.to_feed(rss, item)
end