class RSS::Maker::Atom::Feed::Items::Item::Source

公共实例方法

to_feed(feed, current) 点击切换源码
# File rss-0.3.1/lib/rss/maker/feed.rb, line 238
def to_feed(feed, current)
  source = current.class::Source.new
  setup_values(source)
  current.source = source
  set_parent(source, current)
  setup_other_elements(feed, source)
  current.source = nil if source.to_s == "<source/>"
end

私有实例方法

required_variable_names() 点击切换源码
# File rss-0.3.1/lib/rss/maker/feed.rb, line 248
def required_variable_names
  []
end
variables() 点击切换源码
调用父类方法
# File rss-0.3.1/lib/rss/maker/feed.rb, line 252
def variables
  super + ["updated"]
end