D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
td-agent
/
embedded
/
lib
/
ruby
/
gems
/
2.1.0
/
gems
/
activejob-4.2.8
/
lib
/
active_job
/
Filename :
configured_job.rb
back
Copy
module ActiveJob class ConfiguredJob #:nodoc: def initialize(job_class, options={}) @options = options @job_class = job_class end def perform_now(*args) @job_class.new(*args).perform_now end def perform_later(*args) @job_class.new(*args).enqueue @options end end end