class RSS::Maker::Atom::Entry

公共类方法

new(feed_version="1.0") 点击切换源代码
调用超类方法 RSS::Maker::RSSBase::new
# File rss-0.3.1/lib/rss/maker/entry.rb, line 9
def initialize(feed_version="1.0")
  super
  @feed_type = "atom"
  @feed_subtype = "entry"
end

私有实例方法

make_feed() 点击切换源代码
# File rss-0.3.1/lib/rss/maker/entry.rb, line 16
def make_feed
  ::RSS::Atom::Entry.new(@version, @encoding, @standalone)
end
setup_elements(entry) 点击切换源代码
# File rss-0.3.1/lib/rss/maker/entry.rb, line 20
def setup_elements(entry)
  setup_items(entry)
end