mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rss, test/rss, sample/rss: backported from CVS HEAD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
67c5b057e6
commit
bcf72db844
30 changed files with 1967 additions and 990 deletions
|
@ -7,12 +7,7 @@ module RSS
|
|||
MAKERS = {}
|
||||
|
||||
class << self
|
||||
def make(version, modules=[], &block)
|
||||
prefix = "rss/maker"
|
||||
require "#{prefix}/#{version}"
|
||||
modules.each do |mod|
|
||||
require "#{prefix}/#{mod}"
|
||||
end
|
||||
def make(version, &block)
|
||||
maker(version).make(&block)
|
||||
end
|
||||
|
||||
|
@ -31,3 +26,10 @@ module RSS
|
|||
end
|
||||
|
||||
end
|
||||
|
||||
require "rss/maker/1.0"
|
||||
require "rss/maker/2.0"
|
||||
require "rss/maker/content"
|
||||
require "rss/maker/dublincore"
|
||||
require "rss/maker/syndication"
|
||||
require "rss/maker/trackback"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue