@status_array << @status_number unless @status_array.include? @status_number On 30/07/07, Jeffrey Bowen <ja_bowen / yahoo.com> wrote: > if @status_array.include? @status_number > else > @status_array << @status_number > end > > I'm using the above to append an array if it does not > include @status_number. Is there an include?-not > function that would eliminate the else? Or another > way to do the same thing? > > Jeff > > > > ____________________________________________________________________________________ > Got a little couch potato? > Check out fun summer activities for kids. > http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz > >