Class: PerformLater::Plugins
- Inherits:
-
Object
- Object
- PerformLater::Plugins
- Defined in:
- lib/perform_later/plugins.rb
Class Method Summary collapse
Class Method Details
.add_finder(klass) ⇒ Object
7 8 9 10 11 |
# File 'lib/perform_later/plugins.rb', line 7 def self.add_finder(klass) if klass.respond_to?(:find) @@finder_class = klass end end |
.clear_finder! ⇒ Object
13 14 15 |
# File 'lib/perform_later/plugins.rb', line 13 def self.clear_finder! @@finder_class = nil end |
.finder_class ⇒ Object
3 4 5 |
# File 'lib/perform_later/plugins.rb', line 3 def self.finder_class @@finder_class ||= nil end |