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: insert.rb
    path of file: ./repos/consuldemocracy/spec/factory_bot/strategy
    
    the code of the file until where you have to start completion: module FactoryBot
  module Strategy
    class Insert
      def initialize
        @strategy = FactoryBot.strategy_by_name(:attributes_for).new
      end

      delegate :association, to: :@strategy

      def result(evaluation)
        build_class = evaluation.instance_variable
    
      def result(evaluation)
        build_class = evaluation.instance_variable_get(:@attribute_assigner)
                                .instance_variable_get(:@build_class)

        timestamps = { created_at: Time.current, updated_at: Time.current }.select do |attribute, _|
          build_class.has_attribute?(attribute)
        end

        build_class.insert!(timestamps.merge(@strategy.result(evaluation)))
      end