Sha256: 5a1faa7357c0cfb738babafee69152fb3dfd09f0599ef5f1a8bb49a3d9b0fef1
Contents?: true
Size: 463 Bytes
Versions: 85
Compression:
Stored size: 463 Bytes
Contents
## # A Paragraph of text class RDoc::Markup::Paragraph < RDoc::Markup::Raw ## # Calls #accept_paragraph on +visitor+ def accept visitor visitor.accept_paragraph self end ## # Joins the raw paragraph text and converts inline HardBreaks to the # +hard_break+ text. def text hard_break = '' @parts.map do |part| if RDoc::Markup::HardBreak === part then hard_break else part end end.join end end
Version data entries
85 entries across 55 versions & 6 rubygems