Extended maintenance of Ruby versions 1.8.7 and 1.9.2 will end on July 31, 2014. Read more

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 Instance Methods

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)
  m = maker(version)
  raise UnsupportedMakerVersionError.new(version) if m.nil?
  m[:maker].make(m[:version], &block)
end
            
maker(version) click to toggle source
 
               # File rss/maker.rb, line 14
def maker(version)
  MAKERS[version]
end
            
makers() click to toggle source
 
               # File rss/maker.rb, line 26
def makers
  MAKERS.values.collect {|info| info[:maker]}.uniq
end
            
versions() click to toggle source
 
               # File rss/maker.rb, line 22
def versions
  MAKERS.keys.uniq.sort
end
            

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.

blog comments powered by Disqus