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
|
@ -7,7 +7,7 @@ class RDoc::Markup::Paragraph < RDoc::Markup::Raw
|
|||
##
|
||||
# Calls #accept_paragraph on +visitor+
|
||||
|
||||
def accept visitor
|
||||
def accept(visitor)
|
||||
visitor.accept_paragraph self
|
||||
end
|
||||
|
||||
|
@ -15,7 +15,7 @@ class RDoc::Markup::Paragraph < RDoc::Markup::Raw
|
|||
# Joins the raw paragraph text and converts inline HardBreaks to the
|
||||
# +hard_break+ text.
|
||||
|
||||
def text hard_break = ''
|
||||
def text(hard_break = '')
|
||||
@parts.map do |part|
|
||||
if RDoc::Markup::HardBreak === part then
|
||||
hard_break
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue