Class: RDoc::Markup::Paragraph
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
|
|
|
Instance Chain:
|
|
| 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
| #<< | Appends #text : (String) -> void. |
| #accept | Calls |
| #merge | Appends |
| #push | Appends |
| #text | The raw text : () -> String. |
| #== | : (top) -> bool. |
| #pretty_print | : (PP) -> void. |
Element - Inherited
| #accept | : (untyped) -> void. |
| #pretty_print | : (PP) -> void. |
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 12
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.