def generate_output(inputs, output)
      inputs.each do |input|
        begin
          output.write CoffeeScript.compile(input, options)
        rescue ExecJS::Error => error
          raise error, "Error compiling #{input.path}. #{error.message}"
        end
      end
    end
def generate_output(inputs, output)
      inputs.each do |input|
        begin
          output.write CoffeeScript.compile(input, options)
        rescue ExecJS::Error => error
          raise error, "Error compiling #{input.path}. #{error.message}"
        end
      end
    end
By default, the CoffeeScriptFilter converts inputs
 with the extension +.coffee+ to +.js+.

 @param [Hash] options options to pass to the CoffeeScript
   compiler.
 @param [Proc] block the output name generator block
 The body of the filter. Compile each input file into
 a CoffeeScript compiled output file.

 @param [Array] inputs an Array of FileWrapper objects.
 @param [FileWrapper] output a FileWrapper object