Ruby latest stable (v2_5_5) - 0 notes - Superclass: Object

Class deprecated or moved

This class is deprecated or moved on the latest stable version. The last existing version (v1_9_1_378) is shown here.

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.





[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.