368 369 370 371 372 373
# File 'lib/ruby-doom.rb', line 368 def add(i) i.id = @index @index += 1 @items << i return i end