A Paragraph of text
Calls accept_paragraph on visitor
# File lib/rdoc/markup/paragraph.rb, line 9
def accept visitor
visitor.accept_paragraph self
end
Joins the raw paragraph text and converts inline HardBreaks to the
hard_break
text.
# File lib/rdoc/markup/paragraph.rb, line 17
def text hard_break = ''
@parts.map do |part|
if RDoc::Markup::HardBreak === part then
hard_break
else
part
end
end.join
end
/ | Search |
---|---|
? | Show this help |