summaryrefslogtreecommitdiff
path: root/lib/rdoc/parser/ruby.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/parser/ruby.rb')
-rw-r--r--lib/rdoc/parser/ruby.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/parser/ruby.rb b/lib/rdoc/parser/ruby.rb
index cf6c1ad2217..fde3964a60e 100644
--- a/lib/rdoc/parser/ruby.rb
+++ b/lib/rdoc/parser/ruby.rb
@@ -1458,7 +1458,7 @@ end
class RDoc::Parser::Ruby < RDoc::Parser
- parse_files_matching(/\.rbw?$/)
+ parse_files_matching(/\.(?:rbw?|rdoc)\z/)
include RDoc::RubyToken
include RDoc::TokenStream