lib/soloist/util.rb in soloist-0.9.6 vs lib/soloist/util.rb in soloist-0.9.7
- old
+ new
@@ -4,9 +4,10 @@
[file_name, ".#{file_name}"]
end
def fileify(contents)
file = Tempfile.new("soloist")
+ puts "==== Temp File Contents ====\n#{contents}" if ENV['LOG_LEVEL'] == 'debug'
file << contents
file.flush
file
end
\ No newline at end of file