mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
merge r23450.
* lib/rss/maker.rb, lib/rss/maker/0.9.rb, test/test_maker_*.rb: add RSS::Maker.supported? git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
df8d8394ba
commit
6a5794bd7c
8 changed files with 50 additions and 0 deletions
|
@ -27,6 +27,10 @@ module RSS
|
|||
MAKERS.values.collect {|info| info[:maker]}.uniq
|
||||
end
|
||||
|
||||
def supported?(version)
|
||||
versions.include?(version)
|
||||
end
|
||||
|
||||
private
|
||||
# Can I remove this method?
|
||||
def maker(version)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue