We store the lines we’re working on as objects of class Line. These contain the text of the line, along with a flag indicating the line type, and an indentation level.
Constants
INFINITY = 9999
LINE_TYPES = [\n:BLANK,\n:HEADING,\n:LIST,\n:PARAGRAPH,\n:RULE,\n:VERBATIM,\n]
Attributes
| [RW] | deleted |
| [RW] | flag |
| [RW] | leading_spaces |
| [RW] | level |
| [RW] | param |
| [RW] | text |
| [RW] | type |
Files
- lib/rdoc/markup/lines.rb