123456789_123456789_123456789_123456789_123456789_

Class: RSS::Maker::RSS10

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/1.0.rb

Constant Summary

Base - Inherited

NEED_INITIALIZE_VARIABLES, OTHER_ELEMENTS

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Constructor Details

.new(feed_version = "1.0") ⇒ RSS10

[ GitHub ]

  
# File 'lib/rss/maker/1.0.rb', line 10

def initialize(feed_version="1.0")
  super
  @feed_type = "rss"
end

Instance Method Details

#make_feed (private)

[ GitHub ]

  
# File 'lib/rss/maker/1.0.rb', line 16

def make_feed
  RDF.new(@version, @encoding, @standalone)
end

#setup_elements(rss) (private)

[ GitHub ]

  
# File 'lib/rss/maker/1.0.rb', line 20

def setup_elements(rss)
  setup_channel(rss)
  setup_image(rss)
  setup_items(rss)
  setup_textinput(rss)
end