Class: ScoutApm::BackgroundJobIntegrations::DelayedJob
- Inherits:
-
Object
- Object
- ScoutApm::BackgroundJobIntegrations::DelayedJob
- Defined in:
- lib/scout_apm/background_job_integrations/delayed_job.rb
Instance Attribute Summary collapse
-
#logger ⇒ Object
readonly
Returns the value of attribute logger.
Instance Method Summary collapse
Instance Attribute Details
#logger ⇒ Object (readonly)
Returns the value of attribute logger.
4 5 6 |
# File 'lib/scout_apm/background_job_integrations/delayed_job.rb', line 4 def logger @logger end |
Instance Method Details
#forking? ⇒ Boolean
14 15 16 |
# File 'lib/scout_apm/background_job_integrations/delayed_job.rb', line 14 def forking? false end |
#name ⇒ Object
6 7 8 |
# File 'lib/scout_apm/background_job_integrations/delayed_job.rb', line 6 def name :delayed_job end |
#present? ⇒ Boolean
10 11 12 |
# File 'lib/scout_apm/background_job_integrations/delayed_job.rb', line 10 def present? defined?(::Delayed::Job) && (File.basename($0) =~ /\Adelayed_job/) end |