# File lib/coffee_script.rb, line 36 def compile(command, script, options) yield f = Tempfile.open("coffee.js") f.puts compile_js(script, options) f.close execute("#{command} #{f.path}") ensure f.close! if f end