In Files

  • rss/maker.rb
  • rss/maker/0.9.rb
  • rss/maker/1.0.rb
  • rss/maker/2.0.rb
  • rss/maker/atom.rb
  • rss/maker/base.rb
  • rss/maker/content.rb
  • rss/maker/dublincore.rb
  • rss/maker/entry.rb
  • rss/maker/feed.rb
  • rss/maker/image.rb
  • rss/maker/itunes.rb
  • rss/maker/slash.rb
  • rss/maker/syndication.rb
  • rss/maker/taxonomy.rb
  • rss/maker/trackback.rb

Class/Module Index [+]

Quicksearch

RSS::Maker

Constants

MAKERS

Public Class Methods

[](version) click to toggle source
 
               # File rss/maker.rb, line 12
def [](version)
  maker_info = maker(version)
  raise UnsupportedMakerVersionError.new(version) if maker_info.nil?
  maker_info[:maker]
end
            
add_maker(version, normalized_version, maker) click to toggle source
 
               # File rss/maker.rb, line 18
def add_maker(version, normalized_version, maker)
  MAKERS[version] = {:maker => maker, :version => normalized_version}
end
            
make(version, &block) click to toggle source
 
               # File rss/maker.rb, line 8
def make(version, &block)
  self[version].make(&block)
end
            
makers() click to toggle source
 
               # File rss/maker.rb, line 26
def makers
  MAKERS.values.collect {|info| info[:maker]}.uniq
end
            
supported?(version) click to toggle source
 
               # File rss/maker.rb, line 30
def supported?(version)
  versions.include?(version)
end
            
versions() click to toggle source
 
               # File rss/maker.rb, line 22
def versions
  MAKERS.keys.uniq.sort
end