You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: generator_task.rb
    path of file: ./repos/truffleruby/lib/truffle/ffi/tools
    
    the code of the file until where you have to start completion: require 'ffi/tools/generator'
require '
    
  def initialize(rb_names, options={})
    task :clean do rm_f rb_names end

    rb_names.each do |rb_name|
      ffi_name = "#{rb_name}.ffi"

      file rb_name => ffi_name do |t|
        puts "Generating #{rb_name}..." if Rake.application.options.trace

        FFI::Generator.new ffi_name, rb_name, options
      end
    end
  end

end