class RSS::Rss::Channel::Item::Guid

公共类方法

new(*args) 点击切换源代码
调用父类方法
# File rss-0.3.1/lib/rss/2.0.rb, line 105
def initialize(*args)
  if Utils.element_initialize_arguments?(args)
    super
  else
    super()
    self.isPermaLink = args[0]
    self.content = args[1]
  end
end

公共实例方法

私有实例方法

maker_target(item) 点击切换源代码
# File rss-0.3.1/lib/rss/2.0.rb, line 123
def maker_target(item)
  item.guid
end
setup_maker_attributes(guid) 点击切换源代码
# File rss-0.3.1/lib/rss/2.0.rb, line 127
def setup_maker_attributes(guid)
  guid.isPermaLink = isPermaLink
  guid.content = content
end