Class: RSS::Maker::RSS09::Channel::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, channel) ⇒ Object



150
151
152
153
154
155
156
157
# File 'lib/rss/maker/0.9.rb', line 150

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