From 30527783c73c369b915d31127d4837378ce1a457 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 2 Apr 2010 05:17:01 +0000 Subject: * lib/rdoc/parser/ruby.rb (RDoc::Parser::Ruby): parse also rdoc files. reapplied r24976. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rdoc/parser/ruby.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rdoc/parser/ruby.rb') diff --git a/lib/rdoc/parser/ruby.rb b/lib/rdoc/parser/ruby.rb index 8072293b09..03825349a2 100644 --- a/lib/rdoc/parser/ruby.rb +++ b/lib/rdoc/parser/ruby.rb @@ -146,7 +146,7 @@ $TOKEN_DEBUG ||= nil class RDoc::Parser::Ruby < RDoc::Parser - parse_files_matching(/\.rbw?$/) + parse_files_matching(/\.(?:rbw?|rdoc)\z/) include RDoc::RubyToken include RDoc::TokenStream -- cgit v1.2.1