mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
Sync RDoc 6.14.0
This commit is contained in:
parent
ca1ea95784
commit
03eb777c69
185 changed files with 2008 additions and 1655 deletions
|
@ -75,7 +75,7 @@ class RDoc::RD
|
|||
# Parses +rd+ source and returns an RDoc::Markup::Document. If the
|
||||
# <tt>=begin</tt> or <tt>=end</tt> lines are missing they will be added.
|
||||
|
||||
def self.parse rd
|
||||
def self.parse(rd)
|
||||
rd = rd.lines.to_a
|
||||
|
||||
if rd.find { |i| /\S/ === i } and !rd.find{|i| /^=begin\b/ === i } then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue