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

Public Instance Methods

to_feed(rss, item) click to toggle source
# 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

Private Instance Methods

required_variable_names() click to toggle source
# File lib/rss/maker/0.9.rb, line 395
def required_variable_names
  %w(href)
end