Skip to content

Commit c922e50

Browse files
committed
* lib/rdoc/parser/ruby.rb (RDoc::Parser::Ruby): parse also rdoc
files. * doc/re.rdoc: renamed from re.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 5a45c08 commit c922e50

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.document

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ lib
1515

1616
ext
1717

18-
doc/re.rb
18+
# rdoc files
19+
doc/*.rdoc

doc/re.rb renamed to doc/re.rdoc

File renamed without changes.

lib/rdoc/parser/ruby.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1458,7 +1458,7 @@ def read_escape
14581458

14591459
class RDoc::Parser::Ruby < RDoc::Parser
14601460

1461-
parse_files_matching(/\.rbw?$/)
1461+
parse_files_matching(/\.(?:rbw?|rdoc)\z/)
14621462

14631463
include RDoc::RubyToken
14641464
include RDoc::TokenStream

0 commit comments

Comments
 (0)