Class: RSS::Maker::RSS09::Items::Item::Links::Link

Inherits:
LinkBase
  • Object
show all
Defined in:
lib/rss/maker/0.9.rb

Instance Method Summary collapse

Instance Method Details

#to_feed(rss, item) ⇒ Object



386
387
388
389
390
391
392
393
# File 'lib/rss/maker/0.9.rb', line 386

def to_feed(rss, item)
  if have_required_values?
    item.link = href
  else
    raise NotSetError.new("maker.link",
                          not_set_required_variables)
  end
end