Class: SM::Paragraph

Inherits:
Fragment show all
Defined in:
lib/rdoc/markup/simple_markup/fragments.rb

Overview

A paragraph is a fragment which gets wrapped to fit. We remove all newlines when we're created, and have them put back on output

Direct Known Subclasses

BlankLine, Heading, ListBase

Constant Summary

Constants inherited from Fragment

Fragment::TYPE_MAP

Instance Attribute Summary

Attributes inherited from Fragment

#level, #param, #txt, #type

Method Summary

Methods inherited from Fragment

#add_text, for, #initialize, #to_s, type_name

Constructor Details

This class inherits a constructor from SM::Fragment