4 # A linked-list data structure.
7 ivar_as_index :count => 0, :first => 1, :last => 2
9 # List does not have ivars
10 def __ivars__ ; nil ; end
47 return nil unless @count > 0
65 "#<List:0x%x @count=%p>" % [object_id, count]
69 ivar_as_index :object => 0, :next => 1
71 # Node does not have ivars
72 def __ivars__ ; nil ; end