lib/awestruct/config.rb in awestruct-0.2.11 vs lib/awestruct/config.rb in awestruct-0.2.12

- old
+ new

@@ -18,11 +18,10 @@ @input_dir = File.join(dir, '') @output_dir = File.join(dir, '_site') @extension_dir = File.join(dir, '_ext') @skin_dir = File.join(dir, '_skin') @tmp_dir = File.join(dir, '_tmp') - @ignore = File.exists?(ignore_file = File.join(dir, ".awestruct_ignore")) ? IO.read(ignore_file).each_line.map(&:strip) : [] - @ignore = Dir[*@ignore] + @ignore = File.exists?(ignore_file = File.join(dir, ".awestruct_ignore")) ? Dir[*IO.read(ignore_file).each_line.map(&:strip)] : [] end end end