# File lib/rake.rb, line 1296
1296:     def initialize(*patterns)
1297:       @pending_add = []
1298:       @pending = false
1299:       @exclude_patterns = DEFAULT_IGNORE_PATTERNS.dup
1300:       @exclude_procs = DEFAULT_IGNORE_PROCS.dup
1301:       @exclude_re = nil
1302:       @items = []
1303:       patterns.each { |pattern| include(pattern) }
1304:       yield self if block_given?
1305:     end