Flowdock
class
Importance_1
v1_9_1_378 - Show latest stable - 0 notes - Superclass: Object

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 = [ :BLANK, :HEADING, :LIST, :PARAGRAPH, :RULE, :VERBATIM, ]

Attributes

[RW] type

line type

[RW] level

The indentation nesting level

[RW] text

The contents

[RW] param

A prefix or parameter. For LIST lines, this is the text that introduced the list item (the label)

[RW] flag

A flag. For list lines, this is the type of the list

[RW] leading_spaces

the number of leading spaces

[RW] deleted

true if this line has been deleted from the list of lines

Show files where this class is defined (1 file)
Register or log in to add new notes.