Class: RDoc::Markup::Paragraph
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Raw
|
|
|
Instance Chain:
self,
Raw
|
|
| Inherits: |
RDoc::Markup::Raw
|
| Defined in: | lib/rdoc/markup/paragraph.rb |
Overview
A Paragraph of text
Class Method Summary
Instance Attribute Summary
Instance Method Summary
-
#accept(visitor)
Calls
#accept_paragraphonvisitor -
#text(hard_break = '')
Joins the raw paragraph text and converts inline HardBreaks to the
hard_breaktext.
Raw - Inherited
Constructor Details
This class inherits a constructor from RDoc::Markup::Raw
Instance Method Details
#accept(visitor)
Calls #accept_paragraph on visitor
# File 'lib/rdoc/markup/paragraph.rb', line 10
def accept visitor visitor.accept_paragraph self end
#text(hard_break = '')
Joins the raw paragraph text and converts inline HardBreaks to the hard_break text.