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
Release note: b825775647/History.rdoc (500--2016-11-05)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0a0eb2807e
commit
cdc527db34
27 changed files with 62 additions and 144 deletions
|
@ -183,26 +183,14 @@ class RDoc::Markdown::Literals
|
|||
return nil
|
||||
end
|
||||
|
||||
if "".respond_to? :ord
|
||||
def get_byte
|
||||
if @pos >= @string_size
|
||||
return nil
|
||||
end
|
||||
|
||||
s = @string[@pos].ord
|
||||
@pos += 1
|
||||
s
|
||||
def get_byte
|
||||
if @pos >= @string_size
|
||||
return nil
|
||||
end
|
||||
else
|
||||
def get_byte
|
||||
if @pos >= @string_size
|
||||
return nil
|
||||
end
|
||||
|
||||
s = @string[@pos]
|
||||
@pos += 1
|
||||
s
|
||||
end
|
||||
s = @string[@pos].ord
|
||||
@pos += 1
|
||||
s
|
||||
end
|
||||
|
||||
def parse(rule=nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue