A List of ListItems
Methods
Attributes
[R] | items | Items in the list |
[RW] | type | The list's type |
Class Public methods
new(type = nil, *items)
Link
Creates a new list of type
with items
Instance Public methods
<<(item)
Link
Appends item
to the list
empty?()
Link
Is the list empty?
last()
Link
Returns the last item in the list