Type:
Class

A List is a homogeneous set of ListItems.

The supported list types include:

:BULLET

An unordered list

:LABEL

An unordered definition list, but using an alternate RDoc::Markup syntax

:LALPHA

An ordered list using increasing lowercase English letters

:NOTE

An unordered definition list

:NUMBER

An ordered list using increasing Arabic numerals

:UALPHA

An ordered list using increasing uppercase English letters

Definition lists behave like HTML definition lists. Each list item can describe multiple terms. See RDoc::Markup::ListItem for how labels and definition are stored as list items.

accept

accept(visitor) Instance Public methods Runs this list and all its items through

2015-05-02 13:54:31
last

last() Instance Public methods Returns the last item in the list

2015-05-02 14:02:07
push

push(*items) Instance Public methods Appends items to the list

2015-05-02 14:04:48
new

new(type = nil, *items) Class Public methods Creates a new list of type

2015-05-02 13:51:49
empty?

empty?() Instance Public methods Is the list empty?

2015-05-02 13:55:36
<<

<<(item) Instance Public methods Appends item to the list

2015-05-02 13:53:24