Type:
Class

An item within a List that contains paragraphs, headings, etc.

For BULLET, NUMBER, LALPHA and UALPHA lists, the label will always be nil. For NOTE and LABEL lists, the list label may contain:

  • a single String for a single label

  • an Array of Strings for a list item with multiple terms

  • nil for an extra description attached to a previously labeled list item

empty?

empty?() Instance Public methods Is the

2015-05-02 14:39:19
new

new(label = nil, *parts) Class Public methods Creates a new

2015-05-02 14:26:36
push

push(*parts) Instance Public methods Adds parts to the

2015-05-02 14:48:43
length

length() Instance Public methods Length of parts in the

2015-05-02 14:41:54
<<

<<(part) Instance Public methods Appends part to the

2015-05-02 14:33:56
accept

accept(visitor) Instance Public methods Runs this list item and all its parts

2015-05-02 14:34:43