Class: Joblin::Batching::ManagedBatchJob::ManagedBatchProxy
- Inherits:
-
Object
- Object
- Joblin::Batching::ManagedBatchJob::ManagedBatchProxy
- Defined in:
- lib/joblin/batching/jobs/managed_batch_job.rb
Instance Method Summary collapse
-
#initialize(real_batch) ⇒ ManagedBatchProxy
constructor
A new instance of ManagedBatchProxy.
- #jobs ⇒ Object
Constructor Details
#initialize(real_batch) ⇒ ManagedBatchProxy
Returns a new instance of ManagedBatchProxy.
162 163 164 |
# File 'lib/joblin/batching/jobs/managed_batch_job.rb', line 162 def initialize(real_batch) @real_batch = real_batch end |
Instance Method Details
#jobs ⇒ Object
168 169 170 |
# File 'lib/joblin/batching/jobs/managed_batch_job.rb', line 168 def jobs raise "Managed Batches do not support calling .jobs directly!" end |