lib/qed/demo.rb in qed-2.7.0 vs lib/qed/demo.rb in qed-2.8.0

- old
+ new

@@ -56,10 +56,12 @@ # Returns a cached Array of Applique modules. def applique @applique ||= ( list = [Applique.new] applique_locations.each do |location| - Dir[location + '/**/*'].each do |file| + #Dir[location + '/**/*'].each do |file| + Dir[location + '/*'].each do |file| + next if File.directory?(file) list << Applique.for(file) end end list )