1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/rdoc/parser/ruby.rb: fix typo.

patched by Hal Brodigan [ruby-core:21536]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2010-01-23 15:34:47 +00:00
parent 75acf87959
commit ce35c0c650
2 changed files with 7 additions and 2 deletions

View file

@ -1,7 +1,12 @@
Sun Jan 24 00:31:39 2010 NARUSE, Yui <naruse@ruby-lang.org>
* lib/rdoc/parser/ruby.rb: fix typo.
patched by Hal Brodigan [ruby-core:21536]
Sun Jan 24 00:02:18 2010 NARUSE, Yui <naruse@ruby-lang.org> Sun Jan 24 00:02:18 2010 NARUSE, Yui <naruse@ruby-lang.org>
* lib/rdoc/markup/to_html_crossref.rb: fix failure of the test. * lib/rdoc/markup/to_html_crossref.rb: fix failure of the test.
[ruby-core:20564] patched by Tomoyuki Chikanaga and nobu [ruby-core:20564]
Sat Jan 23 23:27:12 2010 NARUSE, Yui <naruse@ruby-lang.org> Sat Jan 23 23:27:12 2010 NARUSE, Yui <naruse@ruby-lang.org>

View file

@ -2046,7 +2046,7 @@ class RDoc::Parser::Ruby < RDoc::Parser
when TkSTRING then when TkSTRING then
name = name_t.text[1..-2] name = name_t.text[1..-2]
else else
warn "#{container.top_level.file_relative_name}:#{name_t.line_no} unknown name token #{name_t.inspect} for meta-method" warn "#{container.toplevel.file_relative_name}:#{name_t.line_no} unknown name token #{name_t.inspect} for meta-method"
name = 'unknown' name = 'unknown'
end end
end end