Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v2_2_9) is shown here.
new(type = nil, *items)
public
Creates a new list of
type with items. Valid list types are: :BULLET,
:LABEL, :LALPHA, :NOTE, :NUMBER,
:UALPHA
# File lib/rdoc/markup/list.rb, line 39
def initialize type = nil, *items
@type = type
@items = []
@items.concat items
end