mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rdoc/*, test/rdoc/*: Update rdoc-5.0.0.beta1
This version is mostly same as r56072. It contains to remove code for Ruby 1.8 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f0dc29f211
commit
46e5c5622f
10 changed files with 67 additions and 56 deletions
|
@ -1180,10 +1180,8 @@ class RDoc::RubyLex
|
|||
|
||||
str = if ltype == quoted and %w[" ' /].include? ltype then
|
||||
ltype.dup
|
||||
elsif RUBY_VERSION > '1.9' then
|
||||
"%#{type or PERCENT_LTYPE.key ltype}#{PERCENT_PAREN_REV[quoted]||quoted}"
|
||||
else
|
||||
"%#{type or PERCENT_LTYPE.index ltype}#{PERCENT_PAREN_REV[quoted]||quoted}"
|
||||
"%#{type or PERCENT_LTYPE.key ltype}#{PERCENT_PAREN_REV[quoted]||quoted}"
|
||||
end
|
||||
|
||||
subtype = nil
|
||||
|
@ -1371,4 +1369,3 @@ class RDoc::RubyLex
|
|||
end
|
||||
|
||||
#RDoc::RubyLex.debug_level = 1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue