123456789_123456789_123456789_123456789_123456789_

Class: RSS::Maker::Atom::Entry

Relationships & Source Files
Namespace Children
Classes:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: RSS::Maker::RSSBase
Defined in: lib/rss/maker/entry.rb

Constant Summary

::RSS::Maker::Base - Inherited

NEED_INITIALIZE_VARIABLES, OTHER_ELEMENTS

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Constructor Details

.new(feed_version = "1.0") ⇒ Entry

[ GitHub ]

  
# File 'lib/rss/maker/entry.rb', line 8

def initialize(feed_version="1.0")
  super
  @feed_type = "atom"
  @feed_subtype = "entry"
end

Instance Method Details

#make_feed (private)

[ GitHub ]

  
# File 'lib/rss/maker/entry.rb', line 15

def make_feed
  ::RSS::Atom::Entry.new(@version, @encoding, @standalone)
end

#setup_elements(entry) (private)

[ GitHub ]

  
# File 'lib/rss/maker/entry.rb', line 19

def setup_elements(entry)
  setup_items(entry)
end