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

公共实例方法

to_feed(rss, item) 点击切换源代码
# File rss-0.3.1/lib/rss/maker/0.9.rb, line 386
def to_feed(rss, item)
  if have_required_values?
    item.link = href
  else
    raise NotSetError.new("maker.link",
                          not_set_required_variables)
  end
end

私有实例方法

required_variable_names() 点击切换源代码
# File rss-0.3.1/lib/rss/maker/0.9.rb, line 396
def required_variable_names
  %w(href)
end