| Class | SizedList |
| In: |
lib/production_log/analyzer.rb
|
| Parent: | Array |
Creates a new SizedList that can hold up to limit items. Whenever adding a new item to the SizedList would make the list larger than limit, delete_block is called.
delete_block is passed the list and the item being added. delete_block must take action to remove an item and return true or return false if the item should not be added to the list.