From: Wayne Brisette Date: 2013-01-30T19:31:22+09:00 Subject: Fail if file isn't present? I seem to be missing something. If I don't have any .js files in my input directory, shouldn't this fail and fall into rescue? begin jsfile = Dir.glob("*.js") # Get the javascript file that contains the real hiearachy. jsfile.each do |f| js_contents = File.open(f, "rb") {|io| io.read } process_js(js_contents) end rescue puts "The x7_top.js file must be in the input directory." exit end - Wayne