Provides a set of builders for various RSS objects
Feeds
Elements
Collection of supported makers
Returns the maker for the version
# File rss/maker.rb, line 32 def [](version) maker_info = maker(version) raise UnsupportedMakerVersionError.new(version) if maker_info.nil? maker_info[:maker] end
Adds a maker to the set of supported makers
# File rss/maker.rb, line 39 def add_maker(version, normalized_version, maker) MAKERS[version] = {:maker => maker, :version => normalized_version} end
Returns collection of supported makers
# File rss/maker.rb, line 49 def makers MAKERS.values.collect { |info| info[:maker] }.uniq end