don't yield nil items from the container
[embrace.git] / bin / embrace
index b586afe5b4c12e206a7f2c092e05fee384355456..8feccd3aff578921273392d1b24a95de89dbe492 100755 (executable)
@@ -193,7 +193,7 @@ module Embrace
                end
 
                def each
-                       @icons.each { |i| yield i }
+                       @icons.compact.each { |i| yield i }
                end
 
                def <<(i)