# File lib/rake.rb, line 1022 1022: def initialize(*patterns) 1023: @pending_add = [] 1024: @pending = false 1025: @exclude_patterns = DEFAULT_IGNORE_PATTERNS.dup 1026: @exclude_procs = DEFAULT_IGNORE_PROCS.dup 1027: @exclude_re = nil 1028: @items = [] 1029: patterns.each { |pattern| include(pattern) } 1030: yield self if block_given? 1031: end