Class: RSS::Maker::RSS10::Channel::Links::Link

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

Instance Method Summary collapse

Instance Method Details

#to_feed(rss, channel) ⇒ Object



128
129
130
131
132
133
134
135
# File 'lib/rss/maker/1.0.rb', line 128

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