<commit_before>require 'active_job/queue_adapters/inline_adapter'
require 'active_support/core_ext/string/inflections'

module ActiveJob
  module QueueAdapter
    mattr_reader(:queue_adapter) { ActiveJob::QueueAdapters::InlineAdapter }

    def queue_adapter=(name_or_adapter)
      case name_or_adapter
      when Symbol, String
        adapter = load_adapter(name_or_adapter)
      else
        adapter = name_or_adapter
      end

      @@queue_adapter = adapter
    end

    private
      def load_adapter(name)
        require "active_job/queue_adapters/#{name}_adapter"
        "ActiveJob::QueueAdapters::#{name.to_s.camelize}Adapter".constantize
      end
  end
end<commit_msg>No need for the local variable<commit_after>require 'active_job/queue_adapters/inline_adapter'
require 'active_support/core_ext/string/inflections'

module ActiveJob
  module QueueAdapter
    mattr_reader(:queue_adapter) { ActiveJob::QueueAdapters::InlineAdapter }

    def queue_adapter=(name_or_adapter)
      @@queue_adapter = \
        case name_or_adapter
        when Symbol, String
          load_adapter(name_or_adapter)
        else
          name_or_adapter
        end
    end

    private
      def load_adapter(name)
        require "active_job/queue_adapters/#{name}_adapter"
        "ActiveJob::QueueAdapters::#{name.to_s.camelize}Adapter".constantize
      end
  end
end
{'fraction_non_alphanumeric': 0.07664233576642336, 'fraction_numerical': 0.0, 'mean_word_length': 3.4512987012987013, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7197523', 'n_tokens_mistral': 421, 'n_tokens_neox': 409, 'n_words': 71}