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:
parent
75acf87959
commit
ce35c0c650
2 changed files with 7 additions and 2 deletions
|
@ -2046,7 +2046,7 @@ class RDoc::Parser::Ruby < RDoc::Parser
|
|||
when TkSTRING then
|
||||
name = name_t.text[1..-2]
|
||||
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'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue