diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-13 03:02:49 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-13 03:02:49 +0000 |
commit | 3f210cac15bb5e01c343ebe3a89193bdd844f529 (patch) | |
tree | 3520d4f92a4fc3f01816d950cc503b7639239c41 /lib/rdoc/rdoc.rb | |
parent | 72c7fc35d49a4041da22c04ca066fa4a47a46683 (diff) | |
download | ruby-3f210cac15bb5e01c343ebe3a89193bdd844f529.tar.gz ruby-3f210cac15bb5e01c343ebe3a89193bdd844f529.tar.xz ruby-3f210cac15bb5e01c343ebe3a89193bdd844f529.zip |
Reorganize RDoc generators
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/rdoc.rb')
-rw-r--r-- | lib/rdoc/rdoc.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rdoc/rdoc.rb b/lib/rdoc/rdoc.rb index 115cb69f3..b37665354 100644 --- a/lib/rdoc/rdoc.rb +++ b/lib/rdoc/rdoc.rb @@ -68,11 +68,11 @@ module RDoc File.directory? "#{d}/rdoc/generators" end.each do |dir| Dir.entries("#{dir}/rdoc/generators").each do |gen| - next unless /(\w+)_generator.rb$/ =~ gen + next unless /(\w+)\.rb$/ =~ gen type = $1 unless GENERATORS.has_key? type GENERATORS[type] = Generator.new("rdoc/generators/#{gen}", - "#{type.upcase}Generator".intern, + "#{type.upcase}".intern, type) end end |