method

adapter_name

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActiveJob
adapter_name(adapter) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activejob/lib/active_job/queue_adapter.rb, line 7
    def adapter_name(adapter) # :nodoc:
      return adapter.queue_adapter_name if adapter.respond_to?(:queue_adapter_name)

      adapter_class = adapter.is_a?(Module) ? adapter : adapter.class
      "#{adapter_class.name.demodulize.delete_suffix('Adapter')}"
    end
Register or log in to add new notes.