class RSS::Maker::Atom::Feed

公共类方法

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

私有实例方法

make_feed() 点击切换源码
# File rss-0.3.1/lib/rss/maker/feed.rb, line 15
def make_feed
  ::RSS::Atom::Feed.new(@version, @encoding, @standalone)
end
setup_elements(feed) 点击切换源码
# File rss-0.3.1/lib/rss/maker/feed.rb, line 19
def setup_elements(feed)
  setup_channel(feed)
  setup_image(feed)
  setup_items(feed)
end