diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-23 02:32:20 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-23 02:32:20 +0000 |
commit | 400afca88a0adb5a380925dea61220e08a04022f (patch) | |
tree | 8820f8f9892d6dc75e4dd0f3110cd91844f15736 /lib/rdoc/parser/simple.rb | |
parent | 30014a61567b1b672ae46ecf5ff27c059f6c4eea (diff) | |
download | ruby-400afca88a0adb5a380925dea61220e08a04022f.tar.gz |
Update to RDoc 2.5.6
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/parser/simple.rb')
-rw-r--r-- | lib/rdoc/parser/simple.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/rdoc/parser/simple.rb b/lib/rdoc/parser/simple.rb index 37125ff299..25fa3c5159 100644 --- a/lib/rdoc/parser/simple.rb +++ b/lib/rdoc/parser/simple.rb @@ -7,6 +7,8 @@ class RDoc::Parser::Simple < RDoc::Parser parse_files_matching(//) + attr_reader :content # :nodoc: + ## # Prepare to parse a plain file @@ -16,7 +18,8 @@ class RDoc::Parser::Simple < RDoc::Parser preprocess = RDoc::Markup::PreProcess.new @file_name, @options.rdoc_include preprocess.handle @content do |directive, param| - warn "Unrecognized directive '#{directive}' in #{@file_name}" + top_level.metadata[directive] = param + false end end |