Lines Matching refs:items
21 # definition are stored as list items.
33 attr_reader :items
36 # Creates a new list of +type+ with +items+. Valid list types are:
39 def initialize type = nil, *items
41 @items = []
42 @items.concat items
49 @items << item
55 @items == other.items
59 # Runs this list and all its #items through +visitor+
64 @items.each do |item|
75 @items.empty?
82 @items.last
87 q.seplist @items do |item|
94 # Appends +items+ to the list
96 def push *items
97 @items.concat items