Exception: BackgroundJobs::UnknownBackgroundJobsQueueStrategy
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- BackgroundJobs::UnknownBackgroundJobsQueueStrategy
- Defined in:
- lib/background_jobs/job_queue_factory.rb
Instance Method Summary collapse
-
#initialize(strategy_name) ⇒ UnknownBackgroundJobsQueueStrategy
constructor
A new instance of UnknownBackgroundJobsQueueStrategy.
- #to_s ⇒ Object
Constructor Details
#initialize(strategy_name) ⇒ UnknownBackgroundJobsQueueStrategy
Returns a new instance of UnknownBackgroundJobsQueueStrategy.
5 6 7 |
# File 'lib/background_jobs/job_queue_factory.rb', line 5 def initialize(strategy_name) @strategy_name = strategy_name end |
Instance Method Details
#to_s ⇒ Object
9 10 11 |
# File 'lib/background_jobs/job_queue_factory.rb', line 9 def to_s "Unknown strategy '#{@strategy_name}' doesnt exist!" end |