# File lib/rake.rb, line 1274 1274: def initialize(*patterns) 1275: @pending_add = [] 1276: @pending = false 1277: @exclude_patterns = DEFAULT_IGNORE_PATTERNS.dup 1278: @exclude_procs = DEFAULT_IGNORE_PROCS.dup 1279: @exclude_re = nil 1280: @items = [] 1281: patterns.each { |pattern| include(pattern) } 1282: yield self if block_given? 1283: end