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