class RSS::Maker::RSS10::Channel::Links::Link

Public Instance Methods

to_feed(rss, channel) click to toggle source
# File rss-0.3.0/lib/rss/maker/1.0.rb, line 129
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

Private Instance Methods

required_variable_names() click to toggle source
# File rss-0.3.0/lib/rss/maker/1.0.rb, line 139
def required_variable_names
  %w(href)
end