# File lib/chef/cookbook/chefignore.rb, line 32 def remove_ignores_from(file_list) Array(file_list).inject([]) do |unignored, file| ignored?(file) ? unignored : unignored << file end end