Class: Sidekiq::Tasks::Strategies::Rules::Base
- Inherits:
-
Object
- Object
- Sidekiq::Tasks::Strategies::Rules::Base
- Defined in:
- lib/sidekiq/tasks/strategies/rules/base.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#respected?(_task) ⇒ Boolean
abstract
Checks if the given task respects the rule.
Instance Method Details
#respected?(_task) ⇒ Boolean
This method is abstract.
Subclasses must implement this method.
Checks if the given task respects the rule
12 13 14 |
# File 'lib/sidekiq/tasks/strategies/rules/base.rb', line 12 def respected?(_task) raise NotImplementedError, "Rule must implement #respected?" end |