lib/rbst.rb in RbST-0.6.3 vs lib/rbst.rb in RbST-0.6.4

- old
+ new

@@ -62,10 +62,14 @@ @target = target elsif target.is_a?(Array) @target = '' target.each_with_index do |path, i| @target += "\n" if i.positive? - @target += File.exist?(path) ? File.read(path) : path rescue path + @target += begin + File.exist?(path) ? File.read(path) : path + rescue StandardError + path + end end end @options = args end