diff --git a/lib/sprite_factory/runner.rb b/lib/sprite_factory/runner.rb
index <HASH>..<HASH> 100644
--- a/lib/sprite_factory/runner.rb
+++ b/lib/sprite_factory/runner.rb
@@ -183,12 +183,7 @@ module SpriteFactory
     end
 
     def file_contains_exclusion_name?(file)
-      result = false
-      exclusion_array.each do |name| 
-        break if result
-        result = file.include?(name)
-      end
-      result
+      exclusion_array.any? { |exclude| file.include?(exclude) }
     end
 
     #----------------------------------------------------------------------------
Refactor file_contains_exclusion_name? method to make use of ruby enumerable class methods