class RSS::Maker::RSS20::Items::Item::Guid

公共实例方法

to_feed(rss, item) 点击切换源代码
# File rss-0.3.1/lib/rss/maker/2.0.rb, line 114
def to_feed(rss, item)
  guid = Rss::Channel::Item::Guid.new
  set = setup_values(guid)
  if set
    item.guid = guid
    set_parent(guid, item)
    setup_other_elements(rss, guid)
  end
end

私有实例方法

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