module ActiveJob
module ActiveJob::Arguments
module ActiveJob::Callbacks
module ActiveJob::Callbacks::ClassMethods
module ActiveJob::Core
module ActiveJob::Core::ClassMethods
module ActiveJob::Enqueuing
module ActiveJob::Enqueuing::ClassMethods
module ActiveJob::Execution
module ActiveJob::Execution::ClassMethods
module ActiveJob::Logging
module ActiveJob::QueueAdapter
module ActiveJob::QueueAdapter::ClassMethods
module ActiveJob::QueueAdapters
module ActiveJob::QueueName
module ActiveJob::QueueName::ClassMethods
module ActiveJob::TestHelper
module ActiveJob::Translation
module ActiveJob::VERSION
module Rails
module Rails::Generators
class ActiveJob::Base
class ActiveJob::ConfiguredJob
class ActiveJob::DeserializationError
class ActiveJob::Logging::LogSubscriber
class ActiveJob::QueueAdapters::BackburnerAdapter
class ActiveJob::QueueAdapters::BackburnerAdapter::JobWrapper
class ActiveJob::QueueAdapters::DelayedJobAdapter
class ActiveJob::QueueAdapters::DelayedJobAdapter::JobWrapper
class ActiveJob::QueueAdapters::InlineAdapter
class ActiveJob::QueueAdapters::QuAdapter
class ActiveJob::QueueAdapters::QuAdapter::JobWrapper
class ActiveJob::QueueAdapters::QueAdapter
class ActiveJob::QueueAdapters::QueAdapter::JobWrapper
class ActiveJob::QueueAdapters::QueueClassicAdapter
class ActiveJob::QueueAdapters::QueueClassicAdapter::JobWrapper
class ActiveJob::QueueAdapters::ResqueAdapter
class ActiveJob::QueueAdapters::ResqueAdapter::JobWrapper
class ActiveJob::QueueAdapters::SidekiqAdapter
class ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper
class ActiveJob::QueueAdapters::SneakersAdapter
class ActiveJob::QueueAdapters::SneakersAdapter::JobWrapper
class ActiveJob::QueueAdapters::SuckerPunchAdapter
class ActiveJob::QueueAdapters::SuckerPunchAdapter::JobWrapper
class ActiveJob::QueueAdapters::TestAdapter
class ActiveJob::Railtie
class ActiveJob::SerializationError
class ActiveJob::TestCase
class Rails::Generators::JobGenerator
activejob
4.2.9.rc1
# job_or_instantiate
def job_or_instantiate(*args) args.first.is_a?(self) ? args.first : new(*args) end