Updated to use "reject!" instead of "select!" so older versions of ruby are happy

unstable
chao-mu 2012-01-08 11:16:17 -05:00
parent 6591bd3a45
commit d0fb9424b2
1 changed files with 2 additions and 2 deletions

View File

@ -83,8 +83,8 @@ class WinConstManager
# Filter matches by name if a filter has been provided
unless filter_regex.nil?
matches.select! do |name|
name =~ filter_regex
matches.reject! do |name|
name !~ filter_regex
end
end