# File lib/rake.rb, line 1068 1068: def exclude(*patterns) 1069: patterns.each do |pat| @exclude_patterns << pat end 1070: if ! @pending 1071: calculate_exclude_regexp 1072: reject! { |fn| fn =~ @exclude_re } 1073: end 1074: self 1075: end