Class

Line

Extends:

There's no documentation for this item.

Constants
BLANK
HEADING
INFINITY
LIST
PARAGRAPH
RULE
VERBATIM
Public Attributes
deleted true if this line has been deleted from the list of lines
flag A flag. For list lines, this is the type of the list
leading_spaces the number of leading spaces
level The indentation nesting level
param A prefix or parameter. For LIST lines, this is the text that introduced the list item (the label)
text The contents
type line type
Public Methods
isBlank? Return true if this line is blank
new
stamp stamp a line with a type, a level, a prefix, and a flag
strip_leading Strip off the leading margin
to_s
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.