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



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

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